[INFO] cloning repository https://github.com/www1045044461/practice
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/www1045044461/practice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwww1045044461%2Fpractice", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwww1045044461%2Fpractice'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3ae3a07b5b93ee81f493e3be9582f5b30a115af0
[INFO] testing www1045044461/practice against master#cced03bfd61a304243a34504618ecec86c17063f for pr-154065-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwww1045044461%2Fpractice" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/www1045044461/practice
[INFO] finished tweaking git repo https://github.com/www1045044461/practice
[INFO] tweaked toml for git repo https://github.com/www1045044461/practice written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/www1045044461/practice on toolchain cced03bfd61a304243a34504618ecec86c17063f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/www1045044461/practice already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded utf8_slice v1.0.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2669d8a3ea118891057433c9e5169d65e01e509dfd11529a5ba9512737d6e74c
[INFO] running `Command { std: "docker" "start" "-a" "2669d8a3ea118891057433c9e5169d65e01e509dfd11529a5ba9512737d6e74c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2669d8a3ea118891057433c9e5169d65e01e509dfd11529a5ba9512737d6e74c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2669d8a3ea118891057433c9e5169d65e01e509dfd11529a5ba9512737d6e74c", kill_on_drop: false }`
[INFO] [stdout] 2669d8a3ea118891057433c9e5169d65e01e509dfd11529a5ba9512737d6e74c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ff8d2f15b3271474c48e9479d7ae5ebfc82a57d3754caa3a234fae362840f4e6
[INFO] running `Command { std: "docker" "start" "-a" "ff8d2f15b3271474c48e9479d7ae5ebfc82a57d3754caa3a234fae362840f4e6", kill_on_drop: false }`
[INFO] [stderr]    Compiling utf8_slice v1.0.0
[INFO] [stderr]    Compiling practice v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `core::num`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::num;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `function_name`
[INFO] [stdout]  --> src/function_name_macro.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | macro_rules! function_name {
[INFO] [stdout]   |              ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::range`
[INFO] [stdout]  --> src/numbers_practice.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::range;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::function_name_macro::function_name`
[INFO] [stdout]  --> src/char_bool_unit.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::function_name_macro::function_name;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/statements_expressions.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |       ///方法1
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 34 | /     let v = {
[INFO] [stdout] 35 | |         let mut x = 1;
[INFO] [stdout] 36 | |         x += 2;
[INFO] [stdout] 37 | |         x
[INFO] [stdout] 38 | |     };
[INFO] [stdout]    | |______- rustdoc does not generate documentation for statements
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::string`
[INFO] [stdout]  --> src/ownership/ownership.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::string;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Pointer`
[INFO] [stdout]  --> src/complex_type/structs.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::Pointer;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::hash`
[INFO] [stdout]  --> src/controlflow/conditional.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::hash;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]  --> src/variable.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let y: i32; // 未初始化，也未被使用
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `x` is assigned to, but never used
[INFO] [stdout]   --> src/variable.rs:90:9
[INFO] [stdout]    |
[INFO] [stdout] 90 |     let mut x = x; 
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_x` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/variable.rs:95:9
[INFO] [stdout]    |
[INFO] [stdout] 95 |     let y = 4;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/variable.rs:97:9
[INFO] [stdout]    |
[INFO] [stdout] 97 |     let y = "I can also be bound to text!"; 
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `x` is never read
[INFO] [stdout]   --> src/variable.rs:87:22
[INFO] [stdout]    |
[INFO] [stdout] 87 |     let mut x: i32 = 1;
[INFO] [stdout]    |                      ^ this value is reassigned later and never used
[INFO] [stdout] 88 |     x = 7;
[INFO] [stdout]    |     ----- `x` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `x` is never read
[INFO] [stdout]   --> src/variable.rs:92:5
[INFO] [stdout]    |
[INFO] [stdout] 92 |     x += 3;
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/variable.rs:151:10
[INFO] [stdout]     |
[INFO] [stdout] 151 |     let (x, y) = (1, 2);
[INFO] [stdout]     |          ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `x1` is assigned to, but never used
[INFO] [stdout]    --> src/variable.rs:181:10
[INFO] [stdout]     |
[INFO] [stdout] 181 |     let (x1,x2,x3);
[INFO] [stdout]     |          ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_x1` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `x2` is assigned to, but never used
[INFO] [stdout]    --> src/variable.rs:181:13
[INFO] [stdout]     |
[INFO] [stdout] 181 |     let (x1,x2,x3);
[INFO] [stdout]     |             ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_x2` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `x3` is assigned to, but never used
[INFO] [stdout]    --> src/variable.rs:181:16
[INFO] [stdout]     |
[INFO] [stdout] 181 |     let (x1,x2,x3);
[INFO] [stdout]     |                ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_x3` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `x1` is never read
[INFO] [stdout]    --> src/variable.rs:182:6
[INFO] [stdout]     |
[INFO] [stdout] 182 |     (x1, x2, x3) = (5, 6.0, "dawdaw"); //支持不同的类型
[INFO] [stdout]     |      ^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `x2` is never read
[INFO] [stdout]    --> src/variable.rs:182:10
[INFO] [stdout]     |
[INFO] [stdout] 182 |     (x1, x2, x3) = (5, 6.0, "dawdaw"); //支持不同的类型
[INFO] [stdout]     |          ^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `x3` is never read
[INFO] [stdout]    --> src/variable.rs:182:14
[INFO] [stdout]     |
[INFO] [stdout] 182 |     (x1, x2, x3) = (5, 6.0, "dawdaw"); //支持不同的类型
[INFO] [stdout]     |              ^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `y` is assigned to, but never used
[INFO] [stdout]   --> src/numbers_practice.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let mut y: u32 = 5;
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_y` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]   --> src/numbers_practice.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let z = 10; //这里z的类型是?
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `y` is never read
[INFO] [stdout]   --> src/numbers_practice.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     y = x as u32;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/char_bool_unit.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let t = true;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/char_bool_unit.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |     let v = (2, 3);
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `x` is assigned to, but never used
[INFO] [stdout]   --> src/statements_expressions.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let mut x = 1;
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_x` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `x` is never read
[INFO] [stdout]   --> src/statements_expressions.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |         x += 2;
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ownership/ref_borrow.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let mut p5 = &s1;
[INFO] [stdout]    |         ----^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ownership/ref_borrow.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let mut s = String::from("hello, ");
[INFO] [stdout]    |         ----^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/ownership/ref_borrow.rs:46:18
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn borrow_object(s: &String) {}
[INFO] [stdout]    |                  ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/ownership/ref_borrow.rs:47:16
[INFO] [stdout]    |
[INFO] [stdout] 47 | fn move_object(s: String) {}
[INFO] [stdout]    |                ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ownership/ref_borrow.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |     let mut s1 = &mut s;
[INFO] [stdout]    |         ----^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/ownership/ref_borrow.rs:138:9
[INFO] [stdout]     |
[INFO] [stdout] 138 |     let mut s = String::from("hello");
[INFO] [stdout]     |         ----^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r1`
[INFO] [stdout]    --> src/ownership/ref_borrow.rs:213:9
[INFO] [stdout]     |
[INFO] [stdout] 213 |     let r1 = &mut s;
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_r1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r2`
[INFO] [stdout]    --> src/ownership/ref_borrow.rs:214:9
[INFO] [stdout]     |
[INFO] [stdout] 214 |     let r2 = &mut s;
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_r2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/complex_type/string_str.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let mut i = 13;
[INFO] [stdout]    |         ----^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/complex_type/string_str.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let mut y = 14;
[INFO] [stdout]    |         ----^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/complex_type/string_str.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 64 |     let mut y = 14;
[INFO] [stdout]    |         ----^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/complex_type/string_str.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 64 |     let mut y = 14;
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s1`
[INFO] [stdout]    --> src/complex_type/string_str.rs:180:9
[INFO] [stdout]     |
[INFO] [stdout] 180 |     let s1: &str = &s; //方法1
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_s1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s2`
[INFO] [stdout]    --> src/complex_type/string_str.rs:181:9
[INFO] [stdout]     |
[INFO] [stdout] 181 |     let s2:&str = &s[0..5];//方法2
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_s2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s3`
[INFO] [stdout]    --> src/complex_type/string_str.rs:182:9
[INFO] [stdout]     |
[INFO] [stdout] 182 |     let s3:&str = s.as_ref();//方法3
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_s3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arr0`
[INFO] [stdout]   --> src/complex_type/array.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let arr0 = [1, 2, 3];
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_arr0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s1`
[INFO] [stdout]   --> src/complex_type/slice.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let s1 = &arr[0..2]; //方法1
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s2`
[INFO] [stdout]   --> src/complex_type/slice.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let s2: &str = "hello, world"; //方法2
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u`
[INFO] [stdout]   --> src/complex_type/structs.rs:95:30
[INFO] [stdout]    |
[INFO] [stdout] 95 | fn do_something_with_unit_t1(u: Unit) {   }
[INFO] [stdout]    |                              ^ help: if this is intentional, prefix it with an underscore: `_u`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `none`
[INFO] [stdout]    --> src/complex_type/enums.rs:134:9
[INFO] [stdout]     |
[INFO] [stdout] 134 |     let none = plus_one(None);
[INFO] [stdout]     |         ^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `None`
[INFO] [stdout]     |
[INFO] [stdout] 134 -     let none = plus_one(None);
[INFO] [stdout] 134 +     let std::prelude::v1::None = plus_one(None);
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 134 |     let _none = plus_one(None);
[INFO] [stdout]     |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/controlflow/conditional.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     for name in &names { //这里添加&
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> src/controlflow/conditional.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |     for n in numbers {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice1` is never used
[INFO] [stdout]  --> src/variable.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn practice1() {
[INFO] [stdout]   |    ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice2` is never used
[INFO] [stdout]   --> src/variable.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn practice2() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice3` is never used
[INFO] [stdout]   --> src/variable.rs:26:4
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn practice3() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice4` is never used
[INFO] [stdout]   --> src/variable.rs:46:4
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn practice4() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `define_x` is never used
[INFO] [stdout]   --> src/variable.rs:50:4
[INFO] [stdout]    |
[INFO] [stdout] 50 | fn define_x()-> &'static str {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `define_x1` is never used
[INFO] [stdout]   --> src/variable.rs:57:4
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn define_x1<'a>() -> &'a str{
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice5` is never used
[INFO] [stdout]   --> src/variable.rs:69:4
[INFO] [stdout]    |
[INFO] [stdout] 69 | fn practice5() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice6` is never used
[INFO] [stdout]   --> src/variable.rs:86:4
[INFO] [stdout]    |
[INFO] [stdout] 86 | fn practice6() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice7_1` is never used
[INFO] [stdout]    --> src/variable.rs:114:4
[INFO] [stdout]     |
[INFO] [stdout] 114 | fn practice7_1()
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice7_2` is never used
[INFO] [stdout]    --> src/variable.rs:120:4
[INFO] [stdout]     |
[INFO] [stdout] 120 | fn practice7_2()
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice8_1` is never used
[INFO] [stdout]    --> src/variable.rs:142:4
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn practice8_1() {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice8_2` is never used
[INFO] [stdout]    --> src/variable.rs:150:4
[INFO] [stdout]     |
[INFO] [stdout] 150 | fn practice8_2() {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice9` is never used
[INFO] [stdout]    --> src/variable.rs:174:8
[INFO] [stdout]     |
[INFO] [stdout] 174 | pub fn practice9() {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `number_practice1` is never used
[INFO] [stdout]   --> src/numbers_practice.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn number_practice1() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `number_practice2` is never used
[INFO] [stdout]   --> src/numbers_practice.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub fn number_practice2() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `number_practice3` is never used
[INFO] [stdout]   --> src/numbers_practice.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub fn number_practice3() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `type_of` is never used
[INFO] [stdout]   --> src/numbers_practice.rs:49:4
[INFO] [stdout]    |
[INFO] [stdout] 49 | fn type_of<T>(_: &T) -> String {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `number_practice4` is never used
[INFO] [stdout]   --> src/numbers_practice.rs:54:8
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub fn number_practice4() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `number_practice5` is never used
[INFO] [stdout]   --> src/numbers_practice.rs:59:8
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub fn number_practice5() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `number_practice6` is never used
[INFO] [stdout]   --> src/numbers_practice.rs:66:8
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub fn number_practice6() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `number_practice7` is never used
[INFO] [stdout]   --> src/numbers_practice.rs:72:8
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub fn number_practice7() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `number_practice8` is never used
[INFO] [stdout]   --> src/numbers_practice.rs:89:8
[INFO] [stdout]    |
[INFO] [stdout] 89 | pub fn number_practice8() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `number_practice9` is never used
[INFO] [stdout]    --> src/numbers_practice.rs:100:8
[INFO] [stdout]     |
[INFO] [stdout] 100 | pub fn number_practice9() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `number_practice10` is never used
[INFO] [stdout]    --> src/numbers_practice.rs:128:8
[INFO] [stdout]     |
[INFO] [stdout] 128 | pub fn number_practice10() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `range_print` is never used
[INFO] [stdout]    --> src/numbers_practice.rs:134:8
[INFO] [stdout]     |
[INFO] [stdout] 134 | pub fn range_print<T>(collect:T) where T: IntoIterator, T::Item: std::fmt::Display {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `number_practice10_range` is never used
[INFO] [stdout]    --> src/numbers_practice.rs:141:8
[INFO] [stdout]     |
[INFO] [stdout] 141 | pub fn number_practice10_range() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `number_practice11` is never used
[INFO] [stdout]    --> src/numbers_practice.rs:154:8
[INFO] [stdout]     |
[INFO] [stdout] 154 | pub fn number_practice11() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Kilometers` is never constructed
[INFO] [stdout]    --> src/numbers_practice.rs:195:9
[INFO] [stdout]     |
[INFO] [stdout] 195 | struct  Kilometers(f64); 
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Meters` is never constructed
[INFO] [stdout]    --> src/numbers_practice.rs:198:8
[INFO] [stdout]     |
[INFO] [stdout] 198 | struct Meters(f64);
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `clone` is never used
[INFO] [stdout]    --> src/numbers_practice.rs:201:8
[INFO] [stdout]     |
[INFO] [stdout] 200 | impl Kilometers {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] 201 |     fn clone(&self) -> Self {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Port` is never constructed
[INFO] [stdout]    --> src/numbers_practice.rs:213:8
[INFO] [stdout]     |
[INFO] [stdout] 213 | struct Port(u16);
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PortError` is never used
[INFO] [stdout]    --> src/numbers_practice.rs:215:6
[INFO] [stdout]     |
[INFO] [stdout] 215 | enum PortError {
[INFO] [stdout]     |      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `char_pracitice` is never used
[INFO] [stdout]  --> src/char_bool_unit.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn char_pracitice()
[INFO] [stdout]   |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solution_char_practice` is never used
[INFO] [stdout]   --> src/char_bool_unit.rs:16:4
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn solution_char_practice()
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_char` is never used
[INFO] [stdout]   --> src/char_bool_unit.rs:26:4
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn print_char(c:char)
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question2` is never used
[INFO] [stdout]   --> src/char_bool_unit.rs:31:4
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn question2()
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bool_question` is never used
[INFO] [stdout]   --> src/char_bool_unit.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn bool_question()
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bool_question2` is never used
[INFO] [stdout]   --> src/char_bool_unit.rs:52:4
[INFO] [stdout]    |
[INFO] [stdout] 52 | fn bool_question2()
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `implicitly_ret_unit` is never used
[INFO] [stdout]   --> src/char_bool_unit.rs:63:4
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn implicitly_ret_unit() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `explicitly_ret_unit` is never used
[INFO] [stdout]   --> src/char_bool_unit.rs:68:4
[INFO] [stdout]    |
[INFO] [stdout] 68 | fn explicitly_ret_unit() -> () {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `unit_question` is never used
[INFO] [stdout]   --> src/char_bool_unit.rs:72:4
[INFO] [stdout]    |
[INFO] [stdout] 72 | fn unit_question() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `questtion6` is never used
[INFO] [stdout]   --> src/char_bool_unit.rs:81:4
[INFO] [stdout]    |
[INFO] [stdout] 81 | fn questtion6()
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question1` is never used
[INFO] [stdout]  --> src/statements_expressions.rs:2:4
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn question1() {
[INFO] [stdout]   |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question2` is never used
[INFO] [stdout]   --> src/statements_expressions.rs:24:4
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn question2()
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question3` is never used
[INFO] [stdout]   --> src/statements_expressions.rs:51:4
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn question3() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question4` is never used
[INFO] [stdout]   --> src/statements_expressions.rs:61:4
[INFO] [stdout]    |
[INFO] [stdout] 61 | fn question4() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sum` is never used
[INFO] [stdout]   --> src/statements_expressions.rs:66:4
[INFO] [stdout]    |
[INFO] [stdout] 66 | fn sum(x: i32, y: i32) -> i32 {
[INFO] [stdout]    |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sum` is never used
[INFO] [stdout]  --> src/function.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn sum(x:i32,y:i32)->i32
[INFO] [stdout]   |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question1` is never used
[INFO] [stdout]   --> src/function.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn question1()
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question2` is never used
[INFO] [stdout]   --> src/function.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn question2() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print` is never used
[INFO] [stdout]   --> src/function.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn print()->() //注意不是void
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question3` is never used
[INFO] [stdout]   --> src/function.rs:34:4
[INFO] [stdout]    |
[INFO] [stdout] 34 | fn question3() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `never_return` is never used
[INFO] [stdout]   --> src/function.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn never_return() -> ! {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question4` is never used
[INFO] [stdout]   --> src/function.rs:44:4
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn question4() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_option` is never used
[INFO] [stdout]   --> src/function.rs:48:4
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn get_option(tp: u8) -> Option<i32> {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `never_return_fn` is never used
[INFO] [stdout]   --> src/function.rs:63:4
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn never_return_fn() -> ! {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question5` is never used
[INFO] [stdout]   --> src/function.rs:79:4
[INFO] [stdout]    |
[INFO] [stdout] 79 | fn question5() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question1` is never used
[INFO] [stdout]  --> src/ownership/ownership.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn question1() {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question2` is never used
[INFO] [stdout]   --> src/ownership/ownership.rs:43:4
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn question2() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `take_ownership` is never used
[INFO] [stdout]   --> src/ownership/ownership.rs:55:4
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn take_ownership(s:String)->String
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question3` is never used
[INFO] [stdout]   --> src/ownership/ownership.rs:64:4
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn question3() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `give_ownership` is never used
[INFO] [stdout]   --> src/ownership/ownership.rs:80:4
[INFO] [stdout]    |
[INFO] [stdout] 80 | fn give_ownership() -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `give_ownership2` is never used
[INFO] [stdout]   --> src/ownership/ownership.rs:85:4
[INFO] [stdout]    |
[INFO] [stdout] 85 | fn give_ownership2() -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question4` is never used
[INFO] [stdout]   --> src/ownership/ownership.rs:96:4
[INFO] [stdout]    |
[INFO] [stdout] 96 | fn question4() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_str` is never used
[INFO] [stdout]    --> src/ownership/ownership.rs:109:4
[INFO] [stdout]     |
[INFO] [stdout] 109 | fn print_str(s: &String)  {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question5` is never used
[INFO] [stdout]    --> src/ownership/ownership.rs:115:4
[INFO] [stdout]     |
[INFO] [stdout] 115 | fn question5() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question6` is never used
[INFO] [stdout]    --> src/ownership/ownership.rs:126:4
[INFO] [stdout]     |
[INFO] [stdout] 126 | fn question6() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question7` is never used
[INFO] [stdout]    --> src/ownership/ownership.rs:135:4
[INFO] [stdout]     |
[INFO] [stdout] 135 | fn question7() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `example_test` is never used
[INFO] [stdout]    --> src/ownership/ownership.rs:147:4
[INFO] [stdout]     |
[INFO] [stdout] 147 | fn example_test() {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question8` is never used
[INFO] [stdout]    --> src/ownership/ownership.rs:174:8
[INFO] [stdout]     |
[INFO] [stdout] 174 | pub fn question8() {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question9` is never used
[INFO] [stdout]    --> src/ownership/ownership.rs:185:8
[INFO] [stdout]     |
[INFO] [stdout] 185 | pub fn question9(){
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question1` is never used
[INFO] [stdout]  --> src/ownership/ref_borrow.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn question1() {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question2` is never used
[INFO] [stdout]   --> src/ownership/ref_borrow.rs:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn question2() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question3` is never used
[INFO] [stdout]   --> src/ownership/ref_borrow.rs:40:4
[INFO] [stdout]    |
[INFO] [stdout] 40 | fn question3() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `borrow_object` is never used
[INFO] [stdout]   --> src/ownership/ref_borrow.rs:46:4
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn borrow_object(s: &String) {}
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `move_object` is never used
[INFO] [stdout]   --> src/ownership/ref_borrow.rs:47:4
[INFO] [stdout]    |
[INFO] [stdout] 47 | fn move_object(s: String) {}
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question4` is never used
[INFO] [stdout]   --> src/ownership/ref_borrow.rs:50:4
[INFO] [stdout]    |
[INFO] [stdout] 50 | fn question4() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question5` is never used
[INFO] [stdout]   --> src/ownership/ref_borrow.rs:56:4
[INFO] [stdout]    |
[INFO] [stdout] 56 | fn question5() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `push_str` is never used
[INFO] [stdout]   --> src/ownership/ref_borrow.rs:64:4
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn push_str(s: &mut String) {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `self_method_deref` is never used
[INFO] [stdout]   --> src/ownership/ref_borrow.rs:68:4
[INFO] [stdout]    |
[INFO] [stdout] 68 | fn self_method_deref() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `takes_str` is never used
[INFO] [stdout]   --> src/ownership/ref_borrow.rs:84:4
[INFO] [stdout]    |
[INFO] [stdout] 84 | fn takes_str(x: &str) {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `takes_slice` is never used
[INFO] [stdout]   --> src/ownership/ref_borrow.rs:88:4
[INFO] [stdout]    |
[INFO] [stdout] 88 | fn takes_slice(x: &[i32]) {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `slices_deref` is never used
[INFO] [stdout]   --> src/ownership/ref_borrow.rs:92:4
[INFO] [stdout]    |
[INFO] [stdout] 92 | fn slices_deref() {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `need_ref` is never used
[INFO] [stdout]    --> src/ownership/ref_borrow.rs:102:4
[INFO] [stdout]     |
[INFO] [stdout] 102 | fn need_ref(x: &String) {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `need_ref_test` is never used
[INFO] [stdout]    --> src/ownership/ref_borrow.rs:106:4
[INFO] [stdout]     |
[INFO] [stdout] 106 | fn need_ref_test() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question6` is never used
[INFO] [stdout]    --> src/ownership/ref_borrow.rs:113:4
[INFO] [stdout]     |
[INFO] [stdout] 113 | fn question6() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_addr` is never used
[INFO] [stdout]    --> src/ownership/ref_borrow.rs:131:4
[INFO] [stdout]     |
[INFO] [stdout] 131 | fn get_addr(r: &char) -> String {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question7` is never used
[INFO] [stdout]    --> src/ownership/ref_borrow.rs:137:4
[INFO] [stdout]     |
[INFO] [stdout] 137 | fn question7() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `arc_mutex_example` is never used
[INFO] [stdout]    --> src/ownership/ref_borrow.rs:150:4
[INFO] [stdout]     |
[INFO] [stdout] 150 | fn arc_mutex_example() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `borrow_object_as_mut` is never used
[INFO] [stdout]    --> src/ownership/ref_borrow.rs:176:4
[INFO] [stdout]     |
[INFO] [stdout] 176 | fn borrow_object_as_mut(s: &mut String) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question8` is never used
[INFO] [stdout]    --> src/ownership/ref_borrow.rs:180:4
[INFO] [stdout]     |
[INFO] [stdout] 180 | fn question8() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question9` is never used
[INFO] [stdout]    --> src/ownership/ref_borrow.rs:188:4
[INFO] [stdout]     |
[INFO] [stdout] 188 | fn question9() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question10` is never used
[INFO] [stdout]    --> src/ownership/ref_borrow.rs:196:4
[INFO] [stdout]     |
[INFO] [stdout] 196 | fn question10() {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question11` is never used
[INFO] [stdout]    --> src/ownership/ref_borrow.rs:210:4
[INFO] [stdout]     |
[INFO] [stdout] 210 | fn question11() {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question1` is never used
[INFO] [stdout]  --> src/complex_type/string_str.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn question1() {
[INFO] [stdout]   |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question2` is never used
[INFO] [stdout]   --> src/complex_type/string_str.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn question2() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `borrow_method1` is never used
[INFO] [stdout]   --> src/complex_type/string_str.rs:31:4
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn borrow_method1(mut value: Box<i32>)
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `borrow_test` is never used
[INFO] [stdout]   --> src/complex_type/string_str.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn borrow_test()
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `greetings` is never used
[INFO] [stdout]   --> src/complex_type/string_str.rs:45:4
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn greetings(s: &str) {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `param_method1` is never used
[INFO] [stdout]   --> src/complex_type/string_str.rs:50:4
[INFO] [stdout]    |
[INFO] [stdout] 50 | fn param_method1() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `param_method2` is never used
[INFO] [stdout]   --> src/complex_type/string_str.rs:62:4
[INFO] [stdout]    |
[INFO] [stdout] 62 | fn param_method2() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `param_method3` is never used
[INFO] [stdout]   --> src/complex_type/string_str.rs:73:4
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn param_method3()
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `string_mut_method` is never used
[INFO] [stdout]   --> src/complex_type/string_str.rs:87:4
[INFO] [stdout]    |
[INFO] [stdout] 87 | fn string_mut_method(mut s:String)
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `vec_mut_method` is never used
[INFO] [stdout]   --> src/complex_type/string_str.rs:92:4
[INFO] [stdout]    |
[INFO] [stdout] 92 | fn vec_mut_method(mut v:Vec<i32>)
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `box_mut_method` is never used
[INFO] [stdout]   --> src/complex_type/string_str.rs:97:4
[INFO] [stdout]    |
[INFO] [stdout] 97 | fn box_mut_method(mut b:Box<i32>)
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hashmap_mut_method` is never used
[INFO] [stdout]    --> src/complex_type/string_str.rs:102:4
[INFO] [stdout]     |
[INFO] [stdout] 102 | fn hashmap_mut_method(mut m:std::collections::HashMap<String, i32>)
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question3` is never used
[INFO] [stdout]    --> src/complex_type/string_str.rs:115:4
[INFO] [stdout]     |
[INFO] [stdout] 115 | fn question3() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question4` is never used
[INFO] [stdout]    --> src/complex_type/string_str.rs:126:5
[INFO] [stdout]     |
[INFO] [stdout] 126 | fn  question4() {
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question5` is never used
[INFO] [stdout]    --> src/complex_type/string_str.rs:140:4
[INFO] [stdout]     |
[INFO] [stdout] 140 | fn question5() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question6` is never used
[INFO] [stdout]    --> src/complex_type/string_str.rs:151:4
[INFO] [stdout]     |
[INFO] [stdout] 151 | fn question6() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question7` is never used
[INFO] [stdout]    --> src/complex_type/string_str.rs:163:4
[INFO] [stdout]     |
[INFO] [stdout] 163 | fn question7() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `greetings_string` is never used
[INFO] [stdout]    --> src/complex_type/string_str.rs:170:4
[INFO] [stdout]     |
[INFO] [stdout] 170 | fn greetings_string(s: String) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question8` is never used
[INFO] [stdout]    --> src/complex_type/string_str.rs:177:4
[INFO] [stdout]     |
[INFO] [stdout] 177 | fn question8() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question9` is never used
[INFO] [stdout]    --> src/complex_type/string_str.rs:186:4
[INFO] [stdout]     |
[INFO] [stdout] 186 | fn question9() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question10` is never used
[INFO] [stdout]    --> src/complex_type/string_str.rs:209:4
[INFO] [stdout]     |
[INFO] [stdout] 209 | fn question10() {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question11` is never used
[INFO] [stdout]    --> src/complex_type/string_str.rs:232:4
[INFO] [stdout]     |
[INFO] [stdout] 232 | fn question11() {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question12` is never used
[INFO] [stdout]    --> src/complex_type/string_str.rs:272:4
[INFO] [stdout]     |
[INFO] [stdout] 272 | fn question12() {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question13` is never used
[INFO] [stdout]    --> src/complex_type/string_str.rs:284:4
[INFO] [stdout]     |
[INFO] [stdout] 284 | fn question13() {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `utf8_slice_test` is never used
[INFO] [stdout]    --> src/complex_type/string_str.rs:295:4
[INFO] [stdout]     |
[INFO] [stdout] 295 | fn utf8_slice_test() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question1` is never used
[INFO] [stdout]  --> src/complex_type/array.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn question1() {
[INFO] [stdout]   |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question2` is never used
[INFO] [stdout]   --> src/complex_type/array.rs:16:4
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn question2() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question3` is never used
[INFO] [stdout]   --> src/complex_type/array.rs:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn question3() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question4` is never used
[INFO] [stdout]   --> src/complex_type/array.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn question4 () {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question5` is never used
[INFO] [stdout]   --> src/complex_type/array.rs:46:4
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn question5() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question6` is never used
[INFO] [stdout]   --> src/complex_type/array.rs:55:4
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn question6() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question1` is never used
[INFO] [stdout]   --> src/complex_type/slice.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn question1() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question2` is never used
[INFO] [stdout]   --> src/complex_type/slice.rs:25:4
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn question2() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question3` is never used
[INFO] [stdout]   --> src/complex_type/slice.rs:49:4
[INFO] [stdout]    |
[INFO] [stdout] 49 | fn question3() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question4` is never used
[INFO] [stdout]   --> src/complex_type/slice.rs:59:4
[INFO] [stdout]    |
[INFO] [stdout] 59 | fn question4() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question5` is never used
[INFO] [stdout]   --> src/complex_type/slice.rs:71:4
[INFO] [stdout]    |
[INFO] [stdout] 71 | fn question5() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question6` is never used
[INFO] [stdout]   --> src/complex_type/slice.rs:85:4
[INFO] [stdout]    |
[INFO] [stdout] 85 | fn question6() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `first_character` is never used
[INFO] [stdout]   --> src/complex_type/slice.rs:97:4
[INFO] [stdout]    |
[INFO] [stdout] 97 | fn first_character(s: &str) -> &str {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question1` is never used
[INFO] [stdout]  --> src/complex_type/tuple.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn question1() {
[INFO] [stdout]   |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question2` is never used
[INFO] [stdout]   --> src/complex_type/tuple.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn question2() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question3` is never used
[INFO] [stdout]   --> src/complex_type/tuple.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn question3() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question4` is never used
[INFO] [stdout]   --> src/complex_type/tuple.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn question4() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question5` is never used
[INFO] [stdout]   --> src/complex_type/tuple.rs:50:4
[INFO] [stdout]    |
[INFO] [stdout] 50 | fn question5() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question6` is never used
[INFO] [stdout]   --> src/complex_type/tuple.rs:68:4
[INFO] [stdout]    |
[INFO] [stdout] 68 | fn question6() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sum_multiply` is never used
[INFO] [stdout]   --> src/complex_type/tuple.rs:77:4
[INFO] [stdout]    |
[INFO] [stdout] 77 | fn sum_multiply(nums: (i32, i32)) -> (i32, i32) {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Person` is never constructed
[INFO] [stdout]  --> src/complex_type/structs.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Person {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question1` is never used
[INFO] [stdout]   --> src/complex_type/structs.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn question1() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Unit` is never constructed
[INFO] [stdout]   --> src/complex_type/structs.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | struct Unit;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Unit2` is never constructed
[INFO] [stdout]   --> src/complex_type/structs.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 47 | struct Unit2;
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `SomeTrait` is never used
[INFO] [stdout]   --> src/complex_type/structs.rs:49:7
[INFO] [stdout]    |
[INFO] [stdout] 49 | trait SomeTrait {
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question2` is never used
[INFO] [stdout]   --> src/complex_type/structs.rs:68:4
[INFO] [stdout]    |
[INFO] [stdout] 68 | fn question2() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `do_something_with_unit_t1` is never used
[INFO] [stdout]   --> src/complex_type/structs.rs:95:4
[INFO] [stdout]    |
[INFO] [stdout] 95 | fn do_something_with_unit_t1(u: Unit) {   }
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `do_something_with_unit` is never used
[INFO] [stdout]   --> src/complex_type/structs.rs:96:4
[INFO] [stdout]    |
[INFO] [stdout] 96 | fn do_something_with_unit(u: &dyn SomeTrait) {  
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `do_someting_with_unit_box` is never used
[INFO] [stdout]    --> src/complex_type/structs.rs:101:4
[INFO] [stdout]     |
[INFO] [stdout] 101 | fn do_someting_with_unit_box(u: Box<dyn SomeTrait>) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `do_something_with_unit_generic` is never used
[INFO] [stdout]    --> src/complex_type/structs.rs:106:4
[INFO] [stdout]     |
[INFO] [stdout] 106 | fn do_something_with_unit_generic<T: SomeTrait>(u: &T) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Color` is never constructed
[INFO] [stdout]    --> src/complex_type/structs.rs:114:8
[INFO] [stdout]     |
[INFO] [stdout] 114 | struct Color(i32, i32, i32);
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Point` is never constructed
[INFO] [stdout]    --> src/complex_type/structs.rs:115:8
[INFO] [stdout]     |
[INFO] [stdout] 115 | struct Point(i32, i32, i32);
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question3` is never used
[INFO] [stdout]    --> src/complex_type/structs.rs:124:4
[INFO] [stdout]     |
[INFO] [stdout] 124 | fn question3() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_color` is never used
[INFO] [stdout]    --> src/complex_type/structs.rs:132:4
[INFO] [stdout]     |
[INFO] [stdout] 132 | fn check_color(p: Color) {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Person2` is never constructed
[INFO] [stdout]    --> src/complex_type/structs.rs:143:8
[INFO] [stdout]     |
[INFO] [stdout] 143 | struct Person2 {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question4` is never used
[INFO] [stdout]    --> src/complex_type/structs.rs:150:4
[INFO] [stdout]     |
[INFO] [stdout] 150 | fn question4() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Person3` is never constructed
[INFO] [stdout]    --> src/complex_type/structs.rs:174:8
[INFO] [stdout]     |
[INFO] [stdout] 174 | struct Person3 {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question5` is never used
[INFO] [stdout]    --> src/complex_type/structs.rs:178:4
[INFO] [stdout]     |
[INFO] [stdout] 178 | fn question5() {} 
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_person` is never used
[INFO] [stdout]    --> src/complex_type/structs.rs:181:4
[INFO] [stdout]     |
[INFO] [stdout] 181 | fn build_person(name: String, age: u8) -> Person3 {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `User` is never constructed
[INFO] [stdout]    --> src/complex_type/structs.rs:192:8
[INFO] [stdout]     |
[INFO] [stdout] 192 | struct User {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question6` is never used
[INFO] [stdout]    --> src/complex_type/structs.rs:199:4
[INFO] [stdout]     |
[INFO] [stdout] 199 | fn question6() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_email` is never used
[INFO] [stdout]    --> src/complex_type/structs.rs:212:4
[INFO] [stdout]     |
[INFO] [stdout] 212 | fn set_email(u: User) -> User {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rectangle` is never constructed
[INFO] [stdout]    --> src/complex_type/structs.rs:229:8
[INFO] [stdout]     |
[INFO] [stdout] 229 | struct Rectangle {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question7` is never used
[INFO] [stdout]    --> src/complex_type/structs.rs:234:4
[INFO] [stdout]     |
[INFO] [stdout] 234 | fn question7() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `example` is never used
[INFO] [stdout]    --> src/complex_type/structs.rs:250:4
[INFO] [stdout]     |
[INFO] [stdout] 250 | fn example() {
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `File` is never constructed
[INFO] [stdout]    --> src/complex_type/structs.rs:281:8
[INFO] [stdout]     |
[INFO] [stdout] 281 | struct File {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question8` is never used
[INFO] [stdout]    --> src/complex_type/structs.rs:285:4
[INFO] [stdout]     |
[INFO] [stdout] 285 | fn question8() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Number` is never used
[INFO] [stdout]  --> src/complex_type/enums.rs:5:6
[INFO] [stdout]   |
[INFO] [stdout] 5 | enum Number {
[INFO] [stdout]   |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Number1` is never used
[INFO] [stdout]   --> src/complex_type/enums.rs:11:6
[INFO] [stdout]    |
[INFO] [stdout] 11 | enum Number1 {
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Number2` is never used
[INFO] [stdout]   --> src/complex_type/enums.rs:19:6
[INFO] [stdout]    |
[INFO] [stdout] 19 | enum Number2 {
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question1` is never used
[INFO] [stdout]   --> src/complex_type/enums.rs:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn question1() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Message` is never used
[INFO] [stdout]   --> src/complex_type/enums.rs:39:6
[INFO] [stdout]    |
[INFO] [stdout] 39 | enum Message {
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question2` is never used
[INFO] [stdout]   --> src/complex_type/enums.rs:58:4
[INFO] [stdout]    |
[INFO] [stdout] 58 | fn question2() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question3` is never used
[INFO] [stdout]   --> src/complex_type/enums.rs:73:4
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn question3() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question4` is never used
[INFO] [stdout]    --> src/complex_type/enums.rs:106:4
[INFO] [stdout]     |
[INFO] [stdout] 106 | fn question4() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `show_message` is never used
[INFO] [stdout]    --> src/complex_type/enums.rs:124:4
[INFO] [stdout]     |
[INFO] [stdout] 124 | fn show_message(msg: Message) {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question5` is never used
[INFO] [stdout]    --> src/complex_type/enums.rs:131:4
[INFO] [stdout]     |
[INFO] [stdout] 131 | fn question5() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `plus_one` is never used
[INFO] [stdout]    --> src/complex_type/enums.rs:148:4
[INFO] [stdout]     |
[INFO] [stdout] 148 | fn plus_one(x: Option<i32>) -> Option<i32> {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `List` is never used
[INFO] [stdout]    --> src/complex_type/enums.rs:161:6
[INFO] [stdout]     |
[INFO] [stdout] 161 | enum List<T> {
[INFO] [stdout]     |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `prepend`, and `len` are never used
[INFO] [stdout]    --> src/complex_type/enums.rs:167:8
[INFO] [stdout]     |
[INFO] [stdout] 166 | impl<T> List<T> {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] 167 |     fn new() -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 171 |     fn prepend(self,elem:T)-> Self {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 176 |     fn len(&self)->usize
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `stringify` is never used
[INFO] [stdout]    --> src/complex_type/enums.rs:187:8
[INFO] [stdout]     |
[INFO] [stdout] 186 | impl <T:std::fmt::Display> List<T> {
[INFO] [stdout]     | ---------------------------------- method in this implementation
[INFO] [stdout] 187 |     fn stringify(&self) -> String {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question6` is never used
[INFO] [stdout]    --> src/complex_type/enums.rs:195:4
[INFO] [stdout]     |
[INFO] [stdout] 195 | fn question6() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FileNode1` is never constructed
[INFO] [stdout]    --> src/complex_type/enums.rs:227:8
[INFO] [stdout]     |
[INFO] [stdout] 227 | struct FileNode1 {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FileNode2` is never constructed
[INFO] [stdout]    --> src/complex_type/enums.rs:232:8
[INFO] [stdout]     |
[INFO] [stdout] 232 | struct FileNode2 {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question1` is never used
[INFO] [stdout]  --> src/controlflow/conditional.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn question1() {
[INFO] [stdout]   |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `NumberType` is never used
[INFO] [stdout]   --> src/controlflow/conditional.rs:21:6
[INFO] [stdout]    |
[INFO] [stdout] 21 | enum NumberType {
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `number_dispatch` is never used
[INFO] [stdout]   --> src/controlflow/conditional.rs:27:4
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn number_dispatch(value:u8)-> NumberType
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question2` is never used
[INFO] [stdout]   --> src/controlflow/conditional.rs:36:4
[INFO] [stdout]    |
[INFO] [stdout] 36 | fn question2(){
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question3` is never used
[INFO] [stdout]   --> src/controlflow/conditional.rs:45:4
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn question3() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question4` is never used
[INFO] [stdout]   --> src/controlflow/conditional.rs:63:4
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn question4() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Animal` is never used
[INFO] [stdout]   --> src/controlflow/conditional.rs:77:11
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub trait Animal {
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Dog` is never constructed
[INFO] [stdout]   --> src/controlflow/conditional.rs:81:12
[INFO] [stdout]    |
[INFO] [stdout] 81 | pub struct Dog;
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `caller_contravariance` is never used
[INFO] [stdout]   --> src/controlflow/conditional.rs:90:8
[INFO] [stdout]    |
[INFO] [stdout] 90 | pub fn caller_contravariance(u: &impl Animal) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `low_level_contravariance` is never used
[INFO] [stdout]   --> src/controlflow/conditional.rs:95:4
[INFO] [stdout]    |
[INFO] [stdout] 95 | fn low_level_contravariance<'a>(msg: &'a str) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `high_level_contravariance_caller` is never used
[INFO] [stdout]    --> src/controlflow/conditional.rs:101:4
[INFO] [stdout]     |
[INFO] [stdout] 101 | fn high_level_contravariance_caller(f: impl Fn(&'static str)) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Cat` is never constructed
[INFO] [stdout]    --> src/controlflow/conditional.rs:108:8
[INFO] [stdout]     |
[INFO] [stdout] 108 | struct Cat;
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `contravariance_example3` is never used
[INFO] [stdout]    --> src/controlflow/conditional.rs:117:4
[INFO] [stdout]     |
[INFO] [stdout] 117 | fn contravariance_example3() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused arithmetic operation that must be used
[INFO] [stdout]   --> src/statements_expressions.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |         2 * x;
[INFO] [stdout]    |         ^^^^^ the arithmetic operation produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let _ = 2 * x;
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::str::from_utf8` with an invalid literal always return an error
[INFO] [stdout]    --> src/complex_type/string_str.rs:262:11
[INFO] [stdout]     |
[INFO] [stdout] 259 |     let shift_jis = b"\x82\xe6\x82\xa8\x82\xb1\x82\xbb"; // "ようこそ" in SHIFT-JIS
[INFO] [stdout]     |                     ----------------------------------- the literal was valid UTF-8 up to the 0 bytes
[INFO] [stdout] ...
[INFO] [stdout] 262 |     match str::from_utf8(shift_jis) {
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(invalid_from_utf8)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.64s
[INFO] running `Command { std: "docker" "inspect" "ff8d2f15b3271474c48e9479d7ae5ebfc82a57d3754caa3a234fae362840f4e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ff8d2f15b3271474c48e9479d7ae5ebfc82a57d3754caa3a234fae362840f4e6", kill_on_drop: false }`
[INFO] [stdout] ff8d2f15b3271474c48e9479d7ae5ebfc82a57d3754caa3a234fae362840f4e6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c3eb276c879c20b338025c33047c75e97c40abf6bf563a4af45bc75e554ca54e
[INFO] running `Command { std: "docker" "start" "-a" "c3eb276c879c20b338025c33047c75e97c40abf6bf563a4af45bc75e554ca54e", kill_on_drop: false }`
[INFO] [stderr]    Compiling practice v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `core::num`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::num;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `function_name`
[INFO] [stdout]  --> src/function_name_macro.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | macro_rules! function_name {
[INFO] [stdout]   |              ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::range`
[INFO] [stdout]  --> src/numbers_practice.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::range;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::function_name_macro::function_name`
[INFO] [stdout]  --> src/char_bool_unit.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::function_name_macro::function_name;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/statements_expressions.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |       ///方法1
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 34 | /     let v = {
[INFO] [stdout] 35 | |         let mut x = 1;
[INFO] [stdout] 36 | |         x += 2;
[INFO] [stdout] 37 | |         x
[INFO] [stdout] 38 | |     };
[INFO] [stdout]    | |______- rustdoc does not generate documentation for statements
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::string`
[INFO] [stdout]  --> src/ownership/ownership.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::string;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Pointer`
[INFO] [stdout]  --> src/complex_type/structs.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::Pointer;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::hash`
[INFO] [stdout]  --> src/controlflow/conditional.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::hash;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]  --> src/variable.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let y: i32; // 未初始化，也未被使用
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `x` is assigned to, but never used
[INFO] [stdout]   --> src/variable.rs:90:9
[INFO] [stdout]    |
[INFO] [stdout] 90 |     let mut x = x; 
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_x` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/variable.rs:95:9
[INFO] [stdout]    |
[INFO] [stdout] 95 |     let y = 4;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/variable.rs:97:9
[INFO] [stdout]    |
[INFO] [stdout] 97 |     let y = "I can also be bound to text!"; 
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `x` is never read
[INFO] [stdout]   --> src/variable.rs:87:22
[INFO] [stdout]    |
[INFO] [stdout] 87 |     let mut x: i32 = 1;
[INFO] [stdout]    |                      ^ this value is reassigned later and never used
[INFO] [stdout] 88 |     x = 7;
[INFO] [stdout]    |     ----- `x` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `x` is never read
[INFO] [stdout]   --> src/variable.rs:92:5
[INFO] [stdout]    |
[INFO] [stdout] 92 |     x += 3;
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/variable.rs:151:10
[INFO] [stdout]     |
[INFO] [stdout] 151 |     let (x, y) = (1, 2);
[INFO] [stdout]     |          ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `x1` is assigned to, but never used
[INFO] [stdout]    --> src/variable.rs:181:10
[INFO] [stdout]     |
[INFO] [stdout] 181 |     let (x1,x2,x3);
[INFO] [stdout]     |          ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_x1` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `x2` is assigned to, but never used
[INFO] [stdout]    --> src/variable.rs:181:13
[INFO] [stdout]     |
[INFO] [stdout] 181 |     let (x1,x2,x3);
[INFO] [stdout]     |             ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_x2` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `x3` is assigned to, but never used
[INFO] [stdout]    --> src/variable.rs:181:16
[INFO] [stdout]     |
[INFO] [stdout] 181 |     let (x1,x2,x3);
[INFO] [stdout]     |                ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_x3` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `x1` is never read
[INFO] [stdout]    --> src/variable.rs:182:6
[INFO] [stdout]     |
[INFO] [stdout] 182 |     (x1, x2, x3) = (5, 6.0, "dawdaw"); //支持不同的类型
[INFO] [stdout]     |      ^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `x2` is never read
[INFO] [stdout]    --> src/variable.rs:182:10
[INFO] [stdout]     |
[INFO] [stdout] 182 |     (x1, x2, x3) = (5, 6.0, "dawdaw"); //支持不同的类型
[INFO] [stdout]     |          ^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `x3` is never read
[INFO] [stdout]    --> src/variable.rs:182:14
[INFO] [stdout]     |
[INFO] [stdout] 182 |     (x1, x2, x3) = (5, 6.0, "dawdaw"); //支持不同的类型
[INFO] [stdout]     |              ^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `y` is assigned to, but never used
[INFO] [stdout]   --> src/numbers_practice.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let mut y: u32 = 5;
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_y` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]   --> src/numbers_practice.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let z = 10; //这里z的类型是?
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `y` is never read
[INFO] [stdout]   --> src/numbers_practice.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     y = x as u32;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `m2`
[INFO] [stdout]    --> src/numbers_practice.rs:244:13
[INFO] [stdout]     |
[INFO] [stdout] 244 |         let m2:Meters = km2.into();
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_m2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/char_bool_unit.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let t = true;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/char_bool_unit.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |     let v = (2, 3);
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `x` is assigned to, but never used
[INFO] [stdout]   --> src/statements_expressions.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let mut x = 1;
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_x` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `x` is never read
[INFO] [stdout]   --> src/statements_expressions.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |         x += 2;
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ownership/ref_borrow.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let mut p5 = &s1;
[INFO] [stdout]    |         ----^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ownership/ref_borrow.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let mut s = String::from("hello, ");
[INFO] [stdout]    |         ----^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/ownership/ref_borrow.rs:46:18
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn borrow_object(s: &String) {}
[INFO] [stdout]    |                  ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/ownership/ref_borrow.rs:47:16
[INFO] [stdout]    |
[INFO] [stdout] 47 | fn move_object(s: String) {}
[INFO] [stdout]    |                ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ownership/ref_borrow.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |     let mut s1 = &mut s;
[INFO] [stdout]    |         ----^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/ownership/ref_borrow.rs:138:9
[INFO] [stdout]     |
[INFO] [stdout] 138 |     let mut s = String::from("hello");
[INFO] [stdout]     |         ----^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r1`
[INFO] [stdout]    --> src/ownership/ref_borrow.rs:213:9
[INFO] [stdout]     |
[INFO] [stdout] 213 |     let r1 = &mut s;
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_r1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r2`
[INFO] [stdout]    --> src/ownership/ref_borrow.rs:214:9
[INFO] [stdout]     |
[INFO] [stdout] 214 |     let r2 = &mut s;
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_r2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/complex_type/string_str.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let mut i = 13;
[INFO] [stdout]    |         ----^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/complex_type/string_str.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let mut y = 14;
[INFO] [stdout]    |         ----^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/complex_type/string_str.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 64 |     let mut y = 14;
[INFO] [stdout]    |         ----^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/complex_type/string_str.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 64 |     let mut y = 14;
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s1`
[INFO] [stdout]    --> src/complex_type/string_str.rs:180:9
[INFO] [stdout]     |
[INFO] [stdout] 180 |     let s1: &str = &s; //方法1
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_s1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s2`
[INFO] [stdout]    --> src/complex_type/string_str.rs:181:9
[INFO] [stdout]     |
[INFO] [stdout] 181 |     let s2:&str = &s[0..5];//方法2
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_s2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s3`
[INFO] [stdout]    --> src/complex_type/string_str.rs:182:9
[INFO] [stdout]     |
[INFO] [stdout] 182 |     let s3:&str = s.as_ref();//方法3
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_s3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arr0`
[INFO] [stdout]   --> src/complex_type/array.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let arr0 = [1, 2, 3];
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_arr0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s1`
[INFO] [stdout]   --> src/complex_type/slice.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let s1 = &arr[0..2]; //方法1
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s2`
[INFO] [stdout]   --> src/complex_type/slice.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let s2: &str = "hello, world"; //方法2
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u`
[INFO] [stdout]   --> src/complex_type/structs.rs:95:30
[INFO] [stdout]    |
[INFO] [stdout] 95 | fn do_something_with_unit_t1(u: Unit) {   }
[INFO] [stdout]    |                              ^ help: if this is intentional, prefix it with an underscore: `_u`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `none`
[INFO] [stdout]    --> src/complex_type/enums.rs:134:9
[INFO] [stdout]     |
[INFO] [stdout] 134 |     let none = plus_one(None);
[INFO] [stdout]     |         ^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `None`
[INFO] [stdout]     |
[INFO] [stdout] 134 -     let none = plus_one(None);
[INFO] [stdout] 134 +     let std::prelude::v1::None = plus_one(None);
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 134 |     let _none = plus_one(None);
[INFO] [stdout]     |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/controlflow/conditional.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     for name in &names { //这里添加&
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> src/controlflow/conditional.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |     for n in numbers {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice1` is never used
[INFO] [stdout]  --> src/variable.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn practice1() {
[INFO] [stdout]   |    ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice2` is never used
[INFO] [stdout]   --> src/variable.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn practice2() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice3` is never used
[INFO] [stdout]   --> src/variable.rs:26:4
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn practice3() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice4` is never used
[INFO] [stdout]   --> src/variable.rs:46:4
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn practice4() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `define_x` is never used
[INFO] [stdout]   --> src/variable.rs:50:4
[INFO] [stdout]    |
[INFO] [stdout] 50 | fn define_x()-> &'static str {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `define_x1` is never used
[INFO] [stdout]   --> src/variable.rs:57:4
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn define_x1<'a>() -> &'a str{
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice5` is never used
[INFO] [stdout]   --> src/variable.rs:69:4
[INFO] [stdout]    |
[INFO] [stdout] 69 | fn practice5() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice6` is never used
[INFO] [stdout]   --> src/variable.rs:86:4
[INFO] [stdout]    |
[INFO] [stdout] 86 | fn practice6() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice7_1` is never used
[INFO] [stdout]    --> src/variable.rs:114:4
[INFO] [stdout]     |
[INFO] [stdout] 114 | fn practice7_1()
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice7_2` is never used
[INFO] [stdout]    --> src/variable.rs:120:4
[INFO] [stdout]     |
[INFO] [stdout] 120 | fn practice7_2()
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice8_1` is never used
[INFO] [stdout]    --> src/variable.rs:142:4
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn practice8_1() {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice8_2` is never used
[INFO] [stdout]    --> src/variable.rs:150:4
[INFO] [stdout]     |
[INFO] [stdout] 150 | fn practice8_2() {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice9` is never used
[INFO] [stdout]    --> src/variable.rs:174:8
[INFO] [stdout]     |
[INFO] [stdout] 174 | pub fn practice9() {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `number_practice1` is never used
[INFO] [stdout]   --> src/numbers_practice.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn number_practice1() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `number_practice2` is never used
[INFO] [stdout]   --> src/numbers_practice.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub fn number_practice2() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `number_practice3` is never used
[INFO] [stdout]   --> src/numbers_practice.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub fn number_practice3() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `type_of` is never used
[INFO] [stdout]   --> src/numbers_practice.rs:49:4
[INFO] [stdout]    |
[INFO] [stdout] 49 | fn type_of<T>(_: &T) -> String {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `number_practice4` is never used
[INFO] [stdout]   --> src/numbers_practice.rs:54:8
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub fn number_practice4() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `number_practice5` is never used
[INFO] [stdout]   --> src/numbers_practice.rs:59:8
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub fn number_practice5() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `number_practice6` is never used
[INFO] [stdout]   --> src/numbers_practice.rs:66:8
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub fn number_practice6() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `number_practice7` is never used
[INFO] [stdout]   --> src/numbers_practice.rs:72:8
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub fn number_practice7() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `number_practice8` is never used
[INFO] [stdout]   --> src/numbers_practice.rs:89:8
[INFO] [stdout]    |
[INFO] [stdout] 89 | pub fn number_practice8() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `number_practice9` is never used
[INFO] [stdout]    --> src/numbers_practice.rs:100:8
[INFO] [stdout]     |
[INFO] [stdout] 100 | pub fn number_practice9() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `number_practice10` is never used
[INFO] [stdout]    --> src/numbers_practice.rs:128:8
[INFO] [stdout]     |
[INFO] [stdout] 128 | pub fn number_practice10() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/numbers_practice.rs:213:13
[INFO] [stdout]     |
[INFO] [stdout] 213 | struct Port(u16);
[INFO] [stdout]     |        ---- ^^^
[INFO] [stdout]     |        |
[INFO] [stdout]     |        field in this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider removing this field
[INFO] [stdout]     = note: `Port` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `char_pracitice` is never used
[INFO] [stdout]  --> src/char_bool_unit.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn char_pracitice()
[INFO] [stdout]   |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `explicitly_ret_unit` is never used
[INFO] [stdout]   --> src/char_bool_unit.rs:68:4
[INFO] [stdout]    |
[INFO] [stdout] 68 | fn explicitly_ret_unit() -> () {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question3` is never used
[INFO] [stdout]   --> src/function.rs:34:4
[INFO] [stdout]    |
[INFO] [stdout] 34 | fn question3() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `never_return` is never used
[INFO] [stdout]   --> src/function.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn never_return() -> ! {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_option` is never used
[INFO] [stdout]   --> src/function.rs:48:4
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn get_option(tp: u8) -> Option<i32> {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `never_return_fn` is never used
[INFO] [stdout]   --> src/function.rs:63:4
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn never_return_fn() -> ! {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question1` is never used
[INFO] [stdout]  --> src/ownership/ownership.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn question1() {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question2` is never used
[INFO] [stdout]   --> src/ownership/ownership.rs:43:4
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn question2() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `take_ownership` is never used
[INFO] [stdout]   --> src/ownership/ownership.rs:55:4
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn take_ownership(s:String)->String
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question3` is never used
[INFO] [stdout]   --> src/ownership/ownership.rs:64:4
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn question3() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `give_ownership` is never used
[INFO] [stdout]   --> src/ownership/ownership.rs:80:4
[INFO] [stdout]    |
[INFO] [stdout] 80 | fn give_ownership() -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `give_ownership2` is never used
[INFO] [stdout]   --> src/ownership/ownership.rs:85:4
[INFO] [stdout]    |
[INFO] [stdout] 85 | fn give_ownership2() -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question4` is never used
[INFO] [stdout]   --> src/ownership/ownership.rs:96:4
[INFO] [stdout]    |
[INFO] [stdout] 96 | fn question4() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_str` is never used
[INFO] [stdout]    --> src/ownership/ownership.rs:109:4
[INFO] [stdout]     |
[INFO] [stdout] 109 | fn print_str(s: &String)  {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question5` is never used
[INFO] [stdout]    --> src/ownership/ownership.rs:115:4
[INFO] [stdout]     |
[INFO] [stdout] 115 | fn question5() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question6` is never used
[INFO] [stdout]    --> src/ownership/ownership.rs:126:4
[INFO] [stdout]     |
[INFO] [stdout] 126 | fn question6() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question7` is never used
[INFO] [stdout]    --> src/ownership/ownership.rs:135:4
[INFO] [stdout]     |
[INFO] [stdout] 135 | fn question7() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `example_test` is never used
[INFO] [stdout]    --> src/ownership/ownership.rs:147:4
[INFO] [stdout]     |
[INFO] [stdout] 147 | fn example_test() {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question8` is never used
[INFO] [stdout]    --> src/ownership/ownership.rs:174:8
[INFO] [stdout]     |
[INFO] [stdout] 174 | pub fn question8() {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question1` is never used
[INFO] [stdout]  --> src/ownership/ref_borrow.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn question1() {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question2` is never used
[INFO] [stdout]   --> src/ownership/ref_borrow.rs:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn question2() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question3` is never used
[INFO] [stdout]   --> src/ownership/ref_borrow.rs:40:4
[INFO] [stdout]    |
[INFO] [stdout] 40 | fn question3() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `borrow_object` is never used
[INFO] [stdout]   --> src/ownership/ref_borrow.rs:46:4
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn borrow_object(s: &String) {}
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `move_object` is never used
[INFO] [stdout]   --> src/ownership/ref_borrow.rs:47:4
[INFO] [stdout]    |
[INFO] [stdout] 47 | fn move_object(s: String) {}
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question4` is never used
[INFO] [stdout]   --> src/ownership/ref_borrow.rs:50:4
[INFO] [stdout]    |
[INFO] [stdout] 50 | fn question4() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question5` is never used
[INFO] [stdout]   --> src/ownership/ref_borrow.rs:56:4
[INFO] [stdout]    |
[INFO] [stdout] 56 | fn question5() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `push_str` is never used
[INFO] [stdout]   --> src/ownership/ref_borrow.rs:64:4
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn push_str(s: &mut String) {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `self_method_deref` is never used
[INFO] [stdout]   --> src/ownership/ref_borrow.rs:68:4
[INFO] [stdout]    |
[INFO] [stdout] 68 | fn self_method_deref() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `takes_str` is never used
[INFO] [stdout]   --> src/ownership/ref_borrow.rs:84:4
[INFO] [stdout]    |
[INFO] [stdout] 84 | fn takes_str(x: &str) {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `takes_slice` is never used
[INFO] [stdout]   --> src/ownership/ref_borrow.rs:88:4
[INFO] [stdout]    |
[INFO] [stdout] 88 | fn takes_slice(x: &[i32]) {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `slices_deref` is never used
[INFO] [stdout]   --> src/ownership/ref_borrow.rs:92:4
[INFO] [stdout]    |
[INFO] [stdout] 92 | fn slices_deref() {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `need_ref` is never used
[INFO] [stdout]    --> src/ownership/ref_borrow.rs:102:4
[INFO] [stdout]     |
[INFO] [stdout] 102 | fn need_ref(x: &String) {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `need_ref_test` is never used
[INFO] [stdout]    --> src/ownership/ref_borrow.rs:106:4
[INFO] [stdout]     |
[INFO] [stdout] 106 | fn need_ref_test() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question6` is never used
[INFO] [stdout]    --> src/ownership/ref_borrow.rs:113:4
[INFO] [stdout]     |
[INFO] [stdout] 113 | fn question6() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_addr` is never used
[INFO] [stdout]    --> src/ownership/ref_borrow.rs:131:4
[INFO] [stdout]     |
[INFO] [stdout] 131 | fn get_addr(r: &char) -> String {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question7` is never used
[INFO] [stdout]    --> src/ownership/ref_borrow.rs:137:4
[INFO] [stdout]     |
[INFO] [stdout] 137 | fn question7() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `arc_mutex_example` is never used
[INFO] [stdout]    --> src/ownership/ref_borrow.rs:150:4
[INFO] [stdout]     |
[INFO] [stdout] 150 | fn arc_mutex_example() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `borrow_object_as_mut` is never used
[INFO] [stdout]    --> src/ownership/ref_borrow.rs:176:4
[INFO] [stdout]     |
[INFO] [stdout] 176 | fn borrow_object_as_mut(s: &mut String) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question8` is never used
[INFO] [stdout]    --> src/ownership/ref_borrow.rs:180:4
[INFO] [stdout]     |
[INFO] [stdout] 180 | fn question8() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question9` is never used
[INFO] [stdout]    --> src/ownership/ref_borrow.rs:188:4
[INFO] [stdout]     |
[INFO] [stdout] 188 | fn question9() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question10` is never used
[INFO] [stdout]    --> src/ownership/ref_borrow.rs:196:4
[INFO] [stdout]     |
[INFO] [stdout] 196 | fn question10() {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question1` is never used
[INFO] [stdout]  --> src/complex_type/string_str.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn question1() {
[INFO] [stdout]   |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question2` is never used
[INFO] [stdout]   --> src/complex_type/string_str.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn question2() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `borrow_method1` is never used
[INFO] [stdout]   --> src/complex_type/string_str.rs:31:4
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn borrow_method1(mut value: Box<i32>)
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `borrow_test` is never used
[INFO] [stdout]   --> src/complex_type/string_str.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn borrow_test()
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `greetings` is never used
[INFO] [stdout]   --> src/complex_type/string_str.rs:45:4
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn greetings(s: &str) {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `param_method1` is never used
[INFO] [stdout]   --> src/complex_type/string_str.rs:50:4
[INFO] [stdout]    |
[INFO] [stdout] 50 | fn param_method1() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `param_method2` is never used
[INFO] [stdout]   --> src/complex_type/string_str.rs:62:4
[INFO] [stdout]    |
[INFO] [stdout] 62 | fn param_method2() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `param_method3` is never used
[INFO] [stdout]   --> src/complex_type/string_str.rs:73:4
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn param_method3()
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `string_mut_method` is never used
[INFO] [stdout]   --> src/complex_type/string_str.rs:87:4
[INFO] [stdout]    |
[INFO] [stdout] 87 | fn string_mut_method(mut s:String)
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `vec_mut_method` is never used
[INFO] [stdout]   --> src/complex_type/string_str.rs:92:4
[INFO] [stdout]    |
[INFO] [stdout] 92 | fn vec_mut_method(mut v:Vec<i32>)
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `box_mut_method` is never used
[INFO] [stdout]   --> src/complex_type/string_str.rs:97:4
[INFO] [stdout]    |
[INFO] [stdout] 97 | fn box_mut_method(mut b:Box<i32>)
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hashmap_mut_method` is never used
[INFO] [stdout]    --> src/complex_type/string_str.rs:102:4
[INFO] [stdout]     |
[INFO] [stdout] 102 | fn hashmap_mut_method(mut m:std::collections::HashMap<String, i32>)
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question3` is never used
[INFO] [stdout]    --> src/complex_type/string_str.rs:115:4
[INFO] [stdout]     |
[INFO] [stdout] 115 | fn question3() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question4` is never used
[INFO] [stdout]    --> src/complex_type/string_str.rs:126:5
[INFO] [stdout]     |
[INFO] [stdout] 126 | fn  question4() {
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question5` is never used
[INFO] [stdout]    --> src/complex_type/string_str.rs:140:4
[INFO] [stdout]     |
[INFO] [stdout] 140 | fn question5() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question6` is never used
[INFO] [stdout]    --> src/complex_type/string_str.rs:151:4
[INFO] [stdout]     |
[INFO] [stdout] 151 | fn question6() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question7` is never used
[INFO] [stdout]    --> src/complex_type/string_str.rs:163:4
[INFO] [stdout]     |
[INFO] [stdout] 163 | fn question7() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `greetings_string` is never used
[INFO] [stdout]    --> src/complex_type/string_str.rs:170:4
[INFO] [stdout]     |
[INFO] [stdout] 170 | fn greetings_string(s: String) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question8` is never used
[INFO] [stdout]    --> src/complex_type/string_str.rs:177:4
[INFO] [stdout]     |
[INFO] [stdout] 177 | fn question8() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question9` is never used
[INFO] [stdout]    --> src/complex_type/string_str.rs:186:4
[INFO] [stdout]     |
[INFO] [stdout] 186 | fn question9() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question10` is never used
[INFO] [stdout]    --> src/complex_type/string_str.rs:209:4
[INFO] [stdout]     |
[INFO] [stdout] 209 | fn question10() {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question11` is never used
[INFO] [stdout]    --> src/complex_type/string_str.rs:232:4
[INFO] [stdout]     |
[INFO] [stdout] 232 | fn question11() {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question12` is never used
[INFO] [stdout]    --> src/complex_type/string_str.rs:272:4
[INFO] [stdout]     |
[INFO] [stdout] 272 | fn question12() {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question13` is never used
[INFO] [stdout]    --> src/complex_type/string_str.rs:284:4
[INFO] [stdout]     |
[INFO] [stdout] 284 | fn question13() {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question1` is never used
[INFO] [stdout]  --> src/complex_type/array.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn question1() {
[INFO] [stdout]   |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question2` is never used
[INFO] [stdout]   --> src/complex_type/array.rs:16:4
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn question2() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question3` is never used
[INFO] [stdout]   --> src/complex_type/array.rs:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn question3() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question4` is never used
[INFO] [stdout]   --> src/complex_type/array.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn question4 () {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question5` is never used
[INFO] [stdout]   --> src/complex_type/array.rs:46:4
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn question5() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question1` is never used
[INFO] [stdout]   --> src/complex_type/slice.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn question1() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question2` is never used
[INFO] [stdout]   --> src/complex_type/slice.rs:25:4
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn question2() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question3` is never used
[INFO] [stdout]   --> src/complex_type/slice.rs:49:4
[INFO] [stdout]    |
[INFO] [stdout] 49 | fn question3() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question4` is never used
[INFO] [stdout]   --> src/complex_type/slice.rs:59:4
[INFO] [stdout]    |
[INFO] [stdout] 59 | fn question4() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question5` is never used
[INFO] [stdout]   --> src/complex_type/slice.rs:71:4
[INFO] [stdout]    |
[INFO] [stdout] 71 | fn question5() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question1` is never used
[INFO] [stdout]  --> src/complex_type/tuple.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn question1() {
[INFO] [stdout]   |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question2` is never used
[INFO] [stdout]   --> src/complex_type/tuple.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn question2() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question3` is never used
[INFO] [stdout]   --> src/complex_type/tuple.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn question3() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question4` is never used
[INFO] [stdout]   --> src/complex_type/tuple.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn question4() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question5` is never used
[INFO] [stdout]   --> src/complex_type/tuple.rs:50:4
[INFO] [stdout]    |
[INFO] [stdout] 50 | fn question5() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Person` is never constructed
[INFO] [stdout]  --> src/complex_type/structs.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Person {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question1` is never used
[INFO] [stdout]   --> src/complex_type/structs.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn question1() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Unit` is never constructed
[INFO] [stdout]   --> src/complex_type/structs.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | struct Unit;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Unit2` is never constructed
[INFO] [stdout]   --> src/complex_type/structs.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 47 | struct Unit2;
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `SomeTrait` is never used
[INFO] [stdout]   --> src/complex_type/structs.rs:49:7
[INFO] [stdout]    |
[INFO] [stdout] 49 | trait SomeTrait {
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question2` is never used
[INFO] [stdout]   --> src/complex_type/structs.rs:68:4
[INFO] [stdout]    |
[INFO] [stdout] 68 | fn question2() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `do_something_with_unit_t1` is never used
[INFO] [stdout]   --> src/complex_type/structs.rs:95:4
[INFO] [stdout]    |
[INFO] [stdout] 95 | fn do_something_with_unit_t1(u: Unit) {   }
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `do_something_with_unit` is never used
[INFO] [stdout]   --> src/complex_type/structs.rs:96:4
[INFO] [stdout]    |
[INFO] [stdout] 96 | fn do_something_with_unit(u: &dyn SomeTrait) {  
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `do_someting_with_unit_box` is never used
[INFO] [stdout]    --> src/complex_type/structs.rs:101:4
[INFO] [stdout]     |
[INFO] [stdout] 101 | fn do_someting_with_unit_box(u: Box<dyn SomeTrait>) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `do_something_with_unit_generic` is never used
[INFO] [stdout]    --> src/complex_type/structs.rs:106:4
[INFO] [stdout]     |
[INFO] [stdout] 106 | fn do_something_with_unit_generic<T: SomeTrait>(u: &T) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Color` is never constructed
[INFO] [stdout]    --> src/complex_type/structs.rs:114:8
[INFO] [stdout]     |
[INFO] [stdout] 114 | struct Color(i32, i32, i32);
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Point` is never constructed
[INFO] [stdout]    --> src/complex_type/structs.rs:115:8
[INFO] [stdout]     |
[INFO] [stdout] 115 | struct Point(i32, i32, i32);
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question3` is never used
[INFO] [stdout]    --> src/complex_type/structs.rs:124:4
[INFO] [stdout]     |
[INFO] [stdout] 124 | fn question3() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_color` is never used
[INFO] [stdout]    --> src/complex_type/structs.rs:132:4
[INFO] [stdout]     |
[INFO] [stdout] 132 | fn check_color(p: Color) {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Person2` is never constructed
[INFO] [stdout]    --> src/complex_type/structs.rs:143:8
[INFO] [stdout]     |
[INFO] [stdout] 143 | struct Person2 {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question4` is never used
[INFO] [stdout]    --> src/complex_type/structs.rs:150:4
[INFO] [stdout]     |
[INFO] [stdout] 150 | fn question4() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Person3` is never constructed
[INFO] [stdout]    --> src/complex_type/structs.rs:174:8
[INFO] [stdout]     |
[INFO] [stdout] 174 | struct Person3 {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question5` is never used
[INFO] [stdout]    --> src/complex_type/structs.rs:178:4
[INFO] [stdout]     |
[INFO] [stdout] 178 | fn question5() {} 
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_person` is never used
[INFO] [stdout]    --> src/complex_type/structs.rs:181:4
[INFO] [stdout]     |
[INFO] [stdout] 181 | fn build_person(name: String, age: u8) -> Person3 {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `User` is never constructed
[INFO] [stdout]    --> src/complex_type/structs.rs:192:8
[INFO] [stdout]     |
[INFO] [stdout] 192 | struct User {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question6` is never used
[INFO] [stdout]    --> src/complex_type/structs.rs:199:4
[INFO] [stdout]     |
[INFO] [stdout] 199 | fn question6() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_email` is never used
[INFO] [stdout]    --> src/complex_type/structs.rs:212:4
[INFO] [stdout]     |
[INFO] [stdout] 212 | fn set_email(u: User) -> User {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rectangle` is never constructed
[INFO] [stdout]    --> src/complex_type/structs.rs:229:8
[INFO] [stdout]     |
[INFO] [stdout] 229 | struct Rectangle {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question7` is never used
[INFO] [stdout]    --> src/complex_type/structs.rs:234:4
[INFO] [stdout]     |
[INFO] [stdout] 234 | fn question7() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `example` is never used
[INFO] [stdout]    --> src/complex_type/structs.rs:250:4
[INFO] [stdout]     |
[INFO] [stdout] 250 | fn example() {
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Number` is never used
[INFO] [stdout]  --> src/complex_type/enums.rs:5:6
[INFO] [stdout]   |
[INFO] [stdout] 5 | enum Number {
[INFO] [stdout]   |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Number1` is never used
[INFO] [stdout]   --> src/complex_type/enums.rs:11:6
[INFO] [stdout]    |
[INFO] [stdout] 11 | enum Number1 {
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Number2` is never used
[INFO] [stdout]   --> src/complex_type/enums.rs:19:6
[INFO] [stdout]    |
[INFO] [stdout] 19 | enum Number2 {
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question1` is never used
[INFO] [stdout]   --> src/complex_type/enums.rs:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn question1() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Quit`, `Write`, and `ChangeColor` are never constructed
[INFO] [stdout]   --> src/complex_type/enums.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 39 | enum Message {
[INFO] [stdout]    |      ------- variants in this enum
[INFO] [stdout] 40 |     Quit,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 41 |     Move { x: i32, y: i32 },
[INFO] [stdout] 42 |     Write(String),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 43 |     ChangeColor(i32, i32, i32),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question2` is never used
[INFO] [stdout]   --> src/complex_type/enums.rs:58:4
[INFO] [stdout]    |
[INFO] [stdout] 58 | fn question2() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question4` is never used
[INFO] [stdout]    --> src/complex_type/enums.rs:106:4
[INFO] [stdout]     |
[INFO] [stdout] 106 | fn question4() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `show_message` is never used
[INFO] [stdout]    --> src/complex_type/enums.rs:124:4
[INFO] [stdout]     |
[INFO] [stdout] 124 | fn show_message(msg: Message) {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question5` is never used
[INFO] [stdout]    --> src/complex_type/enums.rs:131:4
[INFO] [stdout]     |
[INFO] [stdout] 131 | fn question5() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `plus_one` is never used
[INFO] [stdout]    --> src/complex_type/enums.rs:148:4
[INFO] [stdout]     |
[INFO] [stdout] 148 | fn plus_one(x: Option<i32>) -> Option<i32> {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `size` are never read
[INFO] [stdout]    --> src/complex_type/enums.rs:228:5
[INFO] [stdout]     |
[INFO] [stdout] 227 | struct FileNode1 {
[INFO] [stdout]     |        --------- fields in this struct
[INFO] [stdout] 228 |     name:String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 229 |     size:u32,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question1` is never used
[INFO] [stdout]  --> src/controlflow/conditional.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn question1() {
[INFO] [stdout]   |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `NumberType` is never used
[INFO] [stdout]   --> src/controlflow/conditional.rs:21:6
[INFO] [stdout]    |
[INFO] [stdout] 21 | enum NumberType {
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `number_dispatch` is never used
[INFO] [stdout]   --> src/controlflow/conditional.rs:27:4
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn number_dispatch(value:u8)-> NumberType
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question2` is never used
[INFO] [stdout]   --> src/controlflow/conditional.rs:36:4
[INFO] [stdout]    |
[INFO] [stdout] 36 | fn question2(){
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question3` is never used
[INFO] [stdout]   --> src/controlflow/conditional.rs:45:4
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn question3() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `question4` is never used
[INFO] [stdout]   --> src/controlflow/conditional.rs:63:4
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn question4() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused arithmetic operation that must be used
[INFO] [stdout]   --> src/statements_expressions.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |         2 * x;
[INFO] [stdout]    |         ^^^^^ the arithmetic operation produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let _ = 2 * x;
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::str::from_utf8` with an invalid literal always return an error
[INFO] [stdout]    --> src/complex_type/string_str.rs:262:11
[INFO] [stdout]     |
[INFO] [stdout] 259 |     let shift_jis = b"\x82\xe6\x82\xa8\x82\xb1\x82\xbb"; // "ようこそ" in SHIFT-JIS
[INFO] [stdout]     |                     ----------------------------------- the literal was valid UTF-8 up to the 0 bytes
[INFO] [stdout] ...
[INFO] [stdout] 262 |     match str::from_utf8(shift_jis) {
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(invalid_from_utf8)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.95s
[INFO] running `Command { std: "docker" "inspect" "c3eb276c879c20b338025c33047c75e97c40abf6bf563a4af45bc75e554ca54e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c3eb276c879c20b338025c33047c75e97c40abf6bf563a4af45bc75e554ca54e", kill_on_drop: false }`
[INFO] [stdout] c3eb276c879c20b338025c33047c75e97c40abf6bf563a4af45bc75e554ca54e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 6383c8c573247a70c3a077e9951893d40281151b8d418914ea39c8ef1f44f41f
[INFO] running `Command { std: "docker" "start" "-a" "6383c8c573247a70c3a077e9951893d40281151b8d418914ea39c8ef1f44f41f", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `core::num`
[INFO] [stderr]  --> src/main.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use core::num;
[INFO] [stderr]   |     ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused macro definition: `function_name`
[INFO] [stderr]  --> src/function_name_macro.rs:1:14
[INFO] [stderr]   |
[INFO] [stderr] 1 | macro_rules! function_name {
[INFO] [stderr]   |              ^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `core::range`
[INFO] [stderr]  --> src/numbers_practice.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use core::range;
[INFO] [stderr]   |     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::function_name_macro::function_name`
[INFO] [stderr]  --> src/char_bool_unit.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use crate::function_name_macro::function_name;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]   --> src/statements_expressions.rs:33:5
[INFO] [stderr]    |
[INFO] [stderr] 33 |       ///方法1
[INFO] [stderr]    |       ^^^^^^^^
[INFO] [stderr] 34 | /     let v = {
[INFO] [stderr] 35 | |         let mut x = 1;
[INFO] [stderr] 36 | |         x += 2;
[INFO] [stderr] 37 | |         x
[INFO] [stderr] 38 | |     };
[INFO] [stderr]    | |______- rustdoc does not generate documentation for statements
[INFO] [stderr]    |
[INFO] [stderr]    = help: use `//` for a plain comment
[INFO] [stderr]    = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::string`
[INFO] [stderr]  --> src/ownership/ownership.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::string;
[INFO] [stderr]   |     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::fmt::Pointer`
[INFO] [stderr]  --> src/complex_type/structs.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::fmt::Pointer;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `core::hash`
[INFO] [stderr]  --> src/controlflow/conditional.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use core::hash;
[INFO] [stderr]   |     ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `y`
[INFO] [stderr]  --> src/variable.rs:7:9
[INFO] [stderr]   |
[INFO] [stderr] 7 |     let y: i32; // 未初始化，也未被使用
[INFO] [stderr]   |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable `x` is assigned to, but never used
[INFO] [stderr]   --> src/variable.rs:90:9
[INFO] [stderr]    |
[INFO] [stderr] 90 |     let mut x = x; 
[INFO] [stderr]    |         ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: consider using `_x` instead
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `y`
[INFO] [stderr]   --> src/variable.rs:95:9
[INFO] [stderr]    |
[INFO] [stderr] 95 |     let y = 4;
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `y`
[INFO] [stderr]   --> src/variable.rs:97:9
[INFO] [stderr]    |
[INFO] [stderr] 97 |     let y = "I can also be bound to text!"; 
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `x` is never read
[INFO] [stderr]   --> src/variable.rs:87:22
[INFO] [stderr]    |
[INFO] [stderr] 87 |     let mut x: i32 = 1;
[INFO] [stderr]    |                      ^ this value is reassigned later and never used
[INFO] [stderr] 88 |     x = 7;
[INFO] [stderr]    |     ----- `x` is overwritten here before the previous value is read
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `x` is never read
[INFO] [stderr]   --> src/variable.rs:92:5
[INFO] [stderr]    |
[INFO] [stderr] 92 |     x += 3;
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]    --> src/variable.rs:151:10
[INFO] [stderr]     |
[INFO] [stderr] 151 |     let (x, y) = (1, 2);
[INFO] [stderr]     |          ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `x1` is assigned to, but never used
[INFO] [stderr]    --> src/variable.rs:181:10
[INFO] [stderr]     |
[INFO] [stderr] 181 |     let (x1,x2,x3);
[INFO] [stderr]     |          ^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: consider using `_x1` instead
[INFO] [stderr] 
[INFO] [stderr] warning: variable `x2` is assigned to, but never used
[INFO] [stderr]    --> src/variable.rs:181:13
[INFO] [stderr]     |
[INFO] [stderr] 181 |     let (x1,x2,x3);
[INFO] [stderr]     |             ^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: consider using `_x2` instead
[INFO] [stderr] 
[INFO] [stderr] warning: variable `x3` is assigned to, but never used
[INFO] [stderr]    --> src/variable.rs:181:16
[INFO] [stderr]     |
[INFO] [stderr] 181 |     let (x1,x2,x3);
[INFO] [stderr]     |                ^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: consider using `_x3` instead
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `x1` is never read
[INFO] [stderr]    --> src/variable.rs:182:6
[INFO] [stderr]     |
[INFO] [stderr] 182 |     (x1, x2, x3) = (5, 6.0, "dawdaw"); //支持不同的类型
[INFO] [stderr]     |      ^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `x2` is never read
[INFO] [stderr]    --> src/variable.rs:182:10
[INFO] [stderr]     |
[INFO] [stderr] 182 |     (x1, x2, x3) = (5, 6.0, "dawdaw"); //支持不同的类型
[INFO] [stderr]     |          ^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `x3` is never read
[INFO] [stderr]    --> src/variable.rs:182:14
[INFO] [stderr]     |
[INFO] [stderr] 182 |     (x1, x2, x3) = (5, 6.0, "dawdaw"); //支持不同的类型
[INFO] [stderr]     |              ^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: variable `y` is assigned to, but never used
[INFO] [stderr]   --> src/numbers_practice.rs:22:9
[INFO] [stderr]    |
[INFO] [stderr] 22 |     let mut y: u32 = 5;
[INFO] [stderr]    |         ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: consider using `_y` instead
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `z`
[INFO] [stderr]   --> src/numbers_practice.rs:24:9
[INFO] [stderr]    |
[INFO] [stderr] 24 |     let z = 10; //这里z的类型是?
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `y` is never read
[INFO] [stderr]   --> src/numbers_practice.rs:23:5
[INFO] [stderr]    |
[INFO] [stderr] 23 |     y = x as u32;
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `m2`
[INFO] [stderr]    --> src/numbers_practice.rs:244:13
[INFO] [stderr]     |
[INFO] [stderr] 244 |         let m2:Meters = km2.into();
[INFO] [stderr]     |             ^^ help: if this is intentional, prefix it with an underscore: `_m2`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `t`
[INFO] [stderr]   --> src/char_bool_unit.rs:41:9
[INFO] [stderr]    |
[INFO] [stderr] 41 |     let t = true;
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `v`
[INFO] [stderr]   --> src/char_bool_unit.rs:74:9
[INFO] [stderr]    |
[INFO] [stderr] 74 |     let v = (2, 3);
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `x` is assigned to, but never used
[INFO] [stderr]   --> src/statements_expressions.rs:44:13
[INFO] [stderr]    |
[INFO] [stderr] 44 |         let mut x = 1;
[INFO] [stderr]    |             ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: consider using `_x` instead
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `x` is never read
[INFO] [stderr]   --> src/statements_expressions.rs:45:9
[INFO] [stderr]    |
[INFO] [stderr] 45 |         x += 2;
[INFO] [stderr]    |         ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/ownership/ref_borrow.rs:17:9
[INFO] [stderr]    |
[INFO] [stderr] 17 |     let mut p5 = &s1;
[INFO] [stderr]    |         ----^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/ownership/ref_borrow.rs:41:9
[INFO] [stderr]    |
[INFO] [stderr] 41 |     let mut s = String::from("hello, ");
[INFO] [stderr]    |         ----^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `s`
[INFO] [stderr]   --> src/ownership/ref_borrow.rs:46:18
[INFO] [stderr]    |
[INFO] [stderr] 46 | fn borrow_object(s: &String) {}
[INFO] [stderr]    |                  ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `s`
[INFO] [stderr]   --> src/ownership/ref_borrow.rs:47:16
[INFO] [stderr]    |
[INFO] [stderr] 47 | fn move_object(s: String) {}
[INFO] [stderr]    |                ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/ownership/ref_borrow.rs:75:9
[INFO] [stderr]    |
[INFO] [stderr] 75 |     let mut s1 = &mut s;
[INFO] [stderr]    |         ----^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/ownership/ref_borrow.rs:138:9
[INFO] [stderr]     |
[INFO] [stderr] 138 |     let mut s = String::from("hello");
[INFO] [stderr]     |         ----^
[INFO] [stderr]     |         |
[INFO] [stderr]     |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `r1`
[INFO] [stderr]    --> src/ownership/ref_borrow.rs:213:9
[INFO] [stderr]     |
[INFO] [stderr] 213 |     let r1 = &mut s;
[INFO] [stderr]     |         ^^ help: if this is intentional, prefix it with an underscore: `_r1`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `r2`
[INFO] [stderr]    --> src/ownership/ref_borrow.rs:214:9
[INFO] [stderr]     |
[INFO] [stderr] 214 |     let r2 = &mut s;
[INFO] [stderr]     |         ^^ help: if this is intentional, prefix it with an underscore: `_r2`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/complex_type/string_str.rs:51:9
[INFO] [stderr]    |
[INFO] [stderr] 51 |     let mut i = 13;
[INFO] [stderr]    |         ----^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/complex_type/string_str.rs:52:9
[INFO] [stderr]    |
[INFO] [stderr] 52 |     let mut y = 14;
[INFO] [stderr]    |         ----^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/complex_type/string_str.rs:64:9
[INFO] [stderr]    |
[INFO] [stderr] 64 |     let mut y = 14;
[INFO] [stderr]    |         ----^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `y`
[INFO] [stderr]   --> src/complex_type/string_str.rs:64:9
[INFO] [stderr]    |
[INFO] [stderr] 64 |     let mut y = 14;
[INFO] [stderr]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `s1`
[INFO] [stderr]    --> src/complex_type/string_str.rs:180:9
[INFO] [stderr]     |
[INFO] [stderr] 180 |     let s1: &str = &s; //方法1
[INFO] [stderr]     |         ^^ help: if this is intentional, prefix it with an underscore: `_s1`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `s2`
[INFO] [stderr]    --> src/complex_type/string_str.rs:181:9
[INFO] [stderr]     |
[INFO] [stderr] 181 |     let s2:&str = &s[0..5];//方法2
[INFO] [stderr]     |         ^^ help: if this is intentional, prefix it with an underscore: `_s2`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `s3`
[INFO] [stderr]    --> src/complex_type/string_str.rs:182:9
[INFO] [stderr]     |
[INFO] [stderr] 182 |     let s3:&str = s.as_ref();//方法3
[INFO] [stderr]     |         ^^ help: if this is intentional, prefix it with an underscore: `_s3`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `arr0`
[INFO] [stderr]   --> src/complex_type/array.rs:18:9
[INFO] [stderr]    |
[INFO] [stderr] 18 |     let arr0 = [1, 2, 3];
[INFO] [stderr]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_arr0`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `s1`
[INFO] [stderr]   --> src/complex_type/slice.rs:16:9
[INFO] [stderr]    |
[INFO] [stderr] 16 |     let s1 = &arr[0..2]; //方法1
[INFO] [stderr]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s1`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `s2`
[INFO] [stderr]   --> src/complex_type/slice.rs:21:9
[INFO] [stderr]    |
[INFO] [stderr] 21 |     let s2: &str = "hello, world"; //方法2
[INFO] [stderr]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s2`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `u`
[INFO] [stderr]   --> src/complex_type/structs.rs:95:30
[INFO] [stderr]    |
[INFO] [stderr] 95 | fn do_something_with_unit_t1(u: Unit) {   }
[INFO] [stderr]    |                              ^ help: if this is intentional, prefix it with an underscore: `_u`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `none`
[INFO] [stderr]    --> src/complex_type/enums.rs:134:9
[INFO] [stderr]     |
[INFO] [stderr] 134 |     let none = plus_one(None);
[INFO] [stderr]     |         ^^^^
[INFO] [stderr]     |
[INFO] [stderr] help: you might have meant to pattern match on the similarly named variant `None`
[INFO] [stderr]     |
[INFO] [stderr] 134 -     let none = plus_one(None);
[INFO] [stderr] 134 +     let std::prelude::v1::None = plus_one(None);
[INFO] [stderr]     |
[INFO] [stderr] help: if this is intentional, prefix it with an underscore
[INFO] [stderr]     |
[INFO] [stderr] 134 |     let _none = plus_one(None);
[INFO] [stderr]     |         +
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `name`
[INFO] [stderr]   --> src/controlflow/conditional.rs:47:9
[INFO] [stderr]    |
[INFO] [stderr] 47 |     for name in &names { //这里添加&
[INFO] [stderr]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `n`
[INFO] [stderr]   --> src/controlflow/conditional.rs:55:9
[INFO] [stderr]    |
[INFO] [stderr] 55 |     for n in numbers {
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stderr] 
[INFO] [stderr] warning: function `practice1` is never used
[INFO] [stderr]  --> src/variable.rs:5:4
[INFO] [stderr]   |
[INFO] [stderr] 5 | fn practice1() {
[INFO] [stderr]   |    ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `practice2` is never used
[INFO] [stderr]   --> src/variable.rs:15:4
[INFO] [stderr]    |
[INFO] [stderr] 15 | fn practice2() {
[INFO] [stderr]    |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `practice3` is never used
[INFO] [stderr]   --> src/variable.rs:26:4
[INFO] [stderr]    |
[INFO] [stderr] 26 | fn practice3() {
[INFO] [stderr]    |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `practice4` is never used
[INFO] [stderr]   --> src/variable.rs:46:4
[INFO] [stderr]    |
[INFO] [stderr] 46 | fn practice4() {
[INFO] [stderr]    |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `define_x` is never used
[INFO] [stderr]   --> src/variable.rs:50:4
[INFO] [stderr]    |
[INFO] [stderr] 50 | fn define_x()-> &'static str {
[INFO] [stderr]    |    ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `define_x1` is never used
[INFO] [stderr]   --> src/variable.rs:57:4
[INFO] [stderr]    |
[INFO] [stderr] 57 | fn define_x1<'a>() -> &'a str{
[INFO] [stderr]    |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `practice5` is never used
[INFO] [stderr]   --> src/variable.rs:69:4
[INFO] [stderr]    |
[INFO] [stderr] 69 | fn practice5() {
[INFO] [stderr]    |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `practice6` is never used
[INFO] [stderr]   --> src/variable.rs:86:4
[INFO] [stderr]    |
[INFO] [stderr] 86 | fn practice6() {
[INFO] [stderr]    |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `practice7_1` is never used
[INFO] [stderr]    --> src/variable.rs:114:4
[INFO] [stderr]     |
[INFO] [stderr] 114 | fn practice7_1()
[INFO] [stderr]     |    ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `practice7_2` is never used
[INFO] [stderr]    --> src/variable.rs:120:4
[INFO] [stderr]     |
[INFO] [stderr] 120 | fn practice7_2()
[INFO] [stderr]     |    ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `practice8_1` is never used
[INFO] [stderr]    --> src/variable.rs:142:4
[INFO] [stderr]     |
[INFO] [stderr] 142 | fn practice8_1() {
[INFO] [stderr]     |    ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `practice8_2` is never used
[INFO] [stderr]    --> src/variable.rs:150:4
[INFO] [stderr]     |
[INFO] [stderr] 150 | fn practice8_2() {
[INFO] [stderr]     |    ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `practice9` is never used
[INFO] [stderr]    --> src/variable.rs:174:8
[INFO] [stderr]     |
[INFO] [stderr] 174 | pub fn practice9() {
[INFO] [stderr]     |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `number_practice1` is never used
[INFO] [stderr]   --> src/numbers_practice.rs:20:8
[INFO] [stderr]    |
[INFO] [stderr] 20 | pub fn number_practice1() {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `number_practice2` is never used
[INFO] [stderr]   --> src/numbers_practice.rs:36:8
[INFO] [stderr]    |
[INFO] [stderr] 36 | pub fn number_practice2() {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `number_practice3` is never used
[INFO] [stderr]   --> src/numbers_practice.rs:41:8
[INFO] [stderr]    |
[INFO] [stderr] 41 | pub fn number_practice3() {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `type_of` is never used
[INFO] [stderr]   --> src/numbers_practice.rs:49:4
[INFO] [stderr]    |
[INFO] [stderr] 49 | fn type_of<T>(_: &T) -> String {
[INFO] [stderr]    |    ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `number_practice4` is never used
[INFO] [stderr]   --> src/numbers_practice.rs:54:8
[INFO] [stderr]    |
[INFO] [stderr] 54 | pub fn number_practice4() {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `number_practice5` is never used
[INFO] [stderr]   --> src/numbers_practice.rs:59:8
[INFO] [stderr]    |
[INFO] [stderr] 59 | pub fn number_practice5() {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `number_practice6` is never used
[INFO] [stderr]   --> src/numbers_practice.rs:66:8
[INFO] [stderr]    |
[INFO] [stderr] 66 | pub fn number_practice6() {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `number_practice7` is never used
[INFO] [stderr]   --> src/numbers_practice.rs:72:8
[INFO] [stderr]    |
[INFO] [stderr] 72 | pub fn number_practice7() {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `number_practice8` is never used
[INFO] [stderr]   --> src/numbers_practice.rs:89:8
[INFO] [stderr]    |
[INFO] [stderr] 89 | pub fn number_practice8() {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `number_practice9` is never used
[INFO] [stderr]    --> src/numbers_practice.rs:100:8
[INFO] [stderr]     |
[INFO] [stderr] 100 | pub fn number_practice9() {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `number_practice10` is never used
[INFO] [stderr]    --> src/numbers_practice.rs:128:8
[INFO] [stderr]     |
[INFO] [stderr] 128 | pub fn number_practice10() {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]    --> src/numbers_practice.rs:213:13
[INFO] [stderr]     |
[INFO] [stderr] 213 | struct Port(u16);
[INFO] [stderr]     |        ---- ^^^
[INFO] [stderr]     |        |
[INFO] [stderr]     |        field in this struct
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider removing this field
[INFO] [stderr]     = note: `Port` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: function `char_pracitice` is never used
[INFO] [stderr]  --> src/char_bool_unit.rs:6:4
[INFO] [stderr]   |
[INFO] [stderr] 6 | fn char_pracitice()
[INFO] [stderr]   |    ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `explicitly_ret_unit` is never used
[INFO] [stderr]   --> src/char_bool_unit.rs:68:4
[INFO] [stderr]    |
[INFO] [stderr] 68 | fn explicitly_ret_unit() -> () {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question3` is never used
[INFO] [stderr]   --> src/function.rs:34:4
[INFO] [stderr]    |
[INFO] [stderr] 34 | fn question3() {
[INFO] [stderr]    |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `never_return` is never used
[INFO] [stderr]   --> src/function.rs:38:4
[INFO] [stderr]    |
[INFO] [stderr] 38 | fn never_return() -> ! {
[INFO] [stderr]    |    ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_option` is never used
[INFO] [stderr]   --> src/function.rs:48:4
[INFO] [stderr]    |
[INFO] [stderr] 48 | fn get_option(tp: u8) -> Option<i32> {
[INFO] [stderr]    |    ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `never_return_fn` is never used
[INFO] [stderr]   --> src/function.rs:63:4
[INFO] [stderr]    |
[INFO] [stderr] 63 | fn never_return_fn() -> ! {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question1` is never used
[INFO] [stderr]  --> src/ownership/ownership.rs:6:8
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub fn question1() {
[INFO] [stderr]   |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question2` is never used
[INFO] [stderr]   --> src/ownership/ownership.rs:43:4
[INFO] [stderr]    |
[INFO] [stderr] 43 | fn question2() {
[INFO] [stderr]    |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `take_ownership` is never used
[INFO] [stderr]   --> src/ownership/ownership.rs:55:4
[INFO] [stderr]    |
[INFO] [stderr] 55 | fn take_ownership(s:String)->String
[INFO] [stderr]    |    ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question3` is never used
[INFO] [stderr]   --> src/ownership/ownership.rs:64:4
[INFO] [stderr]    |
[INFO] [stderr] 64 | fn question3() {
[INFO] [stderr]    |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `give_ownership` is never used
[INFO] [stderr]   --> src/ownership/ownership.rs:80:4
[INFO] [stderr]    |
[INFO] [stderr] 80 | fn give_ownership() -> String {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `give_ownership2` is never used
[INFO] [stderr]   --> src/ownership/ownership.rs:85:4
[INFO] [stderr]    |
[INFO] [stderr] 85 | fn give_ownership2() -> String {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question4` is never used
[INFO] [stderr]   --> src/ownership/ownership.rs:96:4
[INFO] [stderr]    |
[INFO] [stderr] 96 | fn question4() {
[INFO] [stderr]    |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `print_str` is never used
[INFO] [stderr]    --> src/ownership/ownership.rs:109:4
[INFO] [stderr]     |
[INFO] [stderr] 109 | fn print_str(s: &String)  {
[INFO] [stderr]     |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question5` is never used
[INFO] [stderr]    --> src/ownership/ownership.rs:115:4
[INFO] [stderr]     |
[INFO] [stderr] 115 | fn question5() {
[INFO] [stderr]     |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question6` is never used
[INFO] [stderr]    --> src/ownership/ownership.rs:126:4
[INFO] [stderr]     |
[INFO] [stderr] 126 | fn question6() {
[INFO] [stderr]     |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question7` is never used
[INFO] [stderr]    --> src/ownership/ownership.rs:135:4
[INFO] [stderr]     |
[INFO] [stderr] 135 | fn question7() {
[INFO] [stderr]     |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `example_test` is never used
[INFO] [stderr]    --> src/ownership/ownership.rs:147:4
[INFO] [stderr]     |
[INFO] [stderr] 147 | fn example_test() {
[INFO] [stderr]     |    ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question8` is never used
[INFO] [stderr]    --> src/ownership/ownership.rs:174:8
[INFO] [stderr]     |
[INFO] [stderr] 174 | pub fn question8() {
[INFO] [stderr]     |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question1` is never used
[INFO] [stderr]  --> src/ownership/ref_borrow.rs:3:8
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub fn question1() {
[INFO] [stderr]   |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question2` is never used
[INFO] [stderr]   --> src/ownership/ref_borrow.rs:29:4
[INFO] [stderr]    |
[INFO] [stderr] 29 | fn question2() {
[INFO] [stderr]    |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question3` is never used
[INFO] [stderr]   --> src/ownership/ref_borrow.rs:40:4
[INFO] [stderr]    |
[INFO] [stderr] 40 | fn question3() {
[INFO] [stderr]    |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `borrow_object` is never used
[INFO] [stderr]   --> src/ownership/ref_borrow.rs:46:4
[INFO] [stderr]    |
[INFO] [stderr] 46 | fn borrow_object(s: &String) {}
[INFO] [stderr]    |    ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `move_object` is never used
[INFO] [stderr]   --> src/ownership/ref_borrow.rs:47:4
[INFO] [stderr]    |
[INFO] [stderr] 47 | fn move_object(s: String) {}
[INFO] [stderr]    |    ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question4` is never used
[INFO] [stderr]   --> src/ownership/ref_borrow.rs:50:4
[INFO] [stderr]    |
[INFO] [stderr] 50 | fn question4() {
[INFO] [stderr]    |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question5` is never used
[INFO] [stderr]   --> src/ownership/ref_borrow.rs:56:4
[INFO] [stderr]    |
[INFO] [stderr] 56 | fn question5() {
[INFO] [stderr]    |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `push_str` is never used
[INFO] [stderr]   --> src/ownership/ref_borrow.rs:64:4
[INFO] [stderr]    |
[INFO] [stderr] 64 | fn push_str(s: &mut String) {
[INFO] [stderr]    |    ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `self_method_deref` is never used
[INFO] [stderr]   --> src/ownership/ref_borrow.rs:68:4
[INFO] [stderr]    |
[INFO] [stderr] 68 | fn self_method_deref() {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `takes_str` is never used
[INFO] [stderr]   --> src/ownership/ref_borrow.rs:84:4
[INFO] [stderr]    |
[INFO] [stderr] 84 | fn takes_str(x: &str) {
[INFO] [stderr]    |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `takes_slice` is never used
[INFO] [stderr]   --> src/ownership/ref_borrow.rs:88:4
[INFO] [stderr]    |
[INFO] [stderr] 88 | fn takes_slice(x: &[i32]) {
[INFO] [stderr]    |    ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `slices_deref` is never used
[INFO] [stderr]   --> src/ownership/ref_borrow.rs:92:4
[INFO] [stderr]    |
[INFO] [stderr] 92 | fn slices_deref() {
[INFO] [stderr]    |    ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `need_ref` is never used
[INFO] [stderr]    --> src/ownership/ref_borrow.rs:102:4
[INFO] [stderr]     |
[INFO] [stderr] 102 | fn need_ref(x: &String) {
[INFO] [stderr]     |    ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `need_ref_test` is never used
[INFO] [stderr]    --> src/ownership/ref_borrow.rs:106:4
[INFO] [stderr]     |
[INFO] [stderr] 106 | fn need_ref_test() {
[INFO] [stderr]     |    ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question6` is never used
[INFO] [stderr]    --> src/ownership/ref_borrow.rs:113:4
[INFO] [stderr]     |
[INFO] [stderr] 113 | fn question6() {
[INFO] [stderr]     |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_addr` is never used
[INFO] [stderr]    --> src/ownership/ref_borrow.rs:131:4
[INFO] [stderr]     |
[INFO] [stderr] 131 | fn get_addr(r: &char) -> String {
[INFO] [stderr]     |    ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question7` is never used
[INFO] [stderr]    --> src/ownership/ref_borrow.rs:137:4
[INFO] [stderr]     |
[INFO] [stderr] 137 | fn question7() {
[INFO] [stderr]     |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `arc_mutex_example` is never used
[INFO] [stderr]    --> src/ownership/ref_borrow.rs:150:4
[INFO] [stderr]     |
[INFO] [stderr] 150 | fn arc_mutex_example() {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `borrow_object_as_mut` is never used
[INFO] [stderr]    --> src/ownership/ref_borrow.rs:176:4
[INFO] [stderr]     |
[INFO] [stderr] 176 | fn borrow_object_as_mut(s: &mut String) {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question8` is never used
[INFO] [stderr]    --> src/ownership/ref_borrow.rs:180:4
[INFO] [stderr]     |
[INFO] [stderr] 180 | fn question8() {
[INFO] [stderr]     |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question9` is never used
[INFO] [stderr]    --> src/ownership/ref_borrow.rs:188:4
[INFO] [stderr]     |
[INFO] [stderr] 188 | fn question9() {
[INFO] [stderr]     |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question10` is never used
[INFO] [stderr]    --> src/ownership/ref_borrow.rs:196:4
[INFO] [stderr]     |
[INFO] [stderr] 196 | fn question10() {
[INFO] [stderr]     |    ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question1` is never used
[INFO] [stderr]  --> src/complex_type/string_str.rs:5:4
[INFO] [stderr]   |
[INFO] [stderr] 5 | fn question1() {
[INFO] [stderr]   |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question2` is never used
[INFO] [stderr]   --> src/complex_type/string_str.rs:13:4
[INFO] [stderr]    |
[INFO] [stderr] 13 | fn question2() {
[INFO] [stderr]    |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `borrow_method1` is never used
[INFO] [stderr]   --> src/complex_type/string_str.rs:31:4
[INFO] [stderr]    |
[INFO] [stderr] 31 | fn borrow_method1(mut value: Box<i32>)
[INFO] [stderr]    |    ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `borrow_test` is never used
[INFO] [stderr]   --> src/complex_type/string_str.rs:38:4
[INFO] [stderr]    |
[INFO] [stderr] 38 | fn borrow_test()
[INFO] [stderr]    |    ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `greetings` is never used
[INFO] [stderr]   --> src/complex_type/string_str.rs:45:4
[INFO] [stderr]    |
[INFO] [stderr] 45 | fn greetings(s: &str) {
[INFO] [stderr]    |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `param_method1` is never used
[INFO] [stderr]   --> src/complex_type/string_str.rs:50:4
[INFO] [stderr]    |
[INFO] [stderr] 50 | fn param_method1() {
[INFO] [stderr]    |    ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `param_method2` is never used
[INFO] [stderr]   --> src/complex_type/string_str.rs:62:4
[INFO] [stderr]    |
[INFO] [stderr] 62 | fn param_method2() {
[INFO] [stderr]    |    ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `param_method3` is never used
[INFO] [stderr]   --> src/complex_type/string_str.rs:73:4
[INFO] [stderr]    |
[INFO] [stderr] 73 | fn param_method3()
[INFO] [stderr]    |    ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `string_mut_method` is never used
[INFO] [stderr]   --> src/complex_type/string_str.rs:87:4
[INFO] [stderr]    |
[INFO] [stderr] 87 | fn string_mut_method(mut s:String)
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `vec_mut_method` is never used
[INFO] [stderr]   --> src/complex_type/string_str.rs:92:4
[INFO] [stderr]    |
[INFO] [stderr] 92 | fn vec_mut_method(mut v:Vec<i32>)
[INFO] [stderr]    |    ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `box_mut_method` is never used
[INFO] [stderr]   --> src/complex_type/string_str.rs:97:4
[INFO] [stderr]    |
[INFO] [stderr] 97 | fn box_mut_method(mut b:Box<i32>)
[INFO] [stderr]    |    ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `hashmap_mut_method` is never used
[INFO] [stderr]    --> src/complex_type/string_str.rs:102:4
[INFO] [stderr]     |
[INFO] [stderr] 102 | fn hashmap_mut_method(mut m:std::collections::HashMap<String, i32>)
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question3` is never used
[INFO] [stderr]    --> src/complex_type/string_str.rs:115:4
[INFO] [stderr]     |
[INFO] [stderr] 115 | fn question3() {
[INFO] [stderr]     |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question4` is never used
[INFO] [stderr]    --> src/complex_type/string_str.rs:126:5
[INFO] [stderr]     |
[INFO] [stderr] 126 | fn  question4() {
[INFO] [stderr]     |     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question5` is never used
[INFO] [stderr]    --> src/complex_type/string_str.rs:140:4
[INFO] [stderr]     |
[INFO] [stderr] 140 | fn question5() {
[INFO] [stderr]     |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question6` is never used
[INFO] [stderr]    --> src/complex_type/string_str.rs:151:4
[INFO] [stderr]     |
[INFO] [stderr] 151 | fn question6() {
[INFO] [stderr]     |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question7` is never used
[INFO] [stderr]    --> src/complex_type/string_str.rs:163:4
[INFO] [stderr]     |
[INFO] [stderr] 163 | fn question7() {
[INFO] [stderr]     |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `greetings_string` is never used
[INFO] [stderr]    --> src/complex_type/string_str.rs:170:4
[INFO] [stderr]     |
[INFO] [stderr] 170 | fn greetings_string(s: String) {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question8` is never used
[INFO] [stderr]    --> src/complex_type/string_str.rs:177:4
[INFO] [stderr]     |
[INFO] [stderr] 177 | fn question8() {
[INFO] [stderr]     |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question9` is never used
[INFO] [stderr]    --> src/complex_type/string_str.rs:186:4
[INFO] [stderr]     |
[INFO] [stderr] 186 | fn question9() {
[INFO] [stderr]     |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question10` is never used
[INFO] [stderr]    --> src/complex_type/string_str.rs:209:4
[INFO] [stderr]     |
[INFO] [stderr] 209 | fn question10() {
[INFO] [stderr]     |    ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question11` is never used
[INFO] [stderr]    --> src/complex_type/string_str.rs:232:4
[INFO] [stderr]     |
[INFO] [stderr] 232 | fn question11() {
[INFO] [stderr]     |    ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question12` is never used
[INFO] [stderr]    --> src/complex_type/string_str.rs:272:4
[INFO] [stderr]     |
[INFO] [stderr] 272 | fn question12() {
[INFO] [stderr]     |    ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question13` is never used
[INFO] [stderr]    --> src/complex_type/string_str.rs:284:4
[INFO] [stderr]     |
[INFO] [stderr] 284 | fn question13() {
[INFO] [stderr]     |    ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question1` is never used
[INFO] [stderr]  --> src/complex_type/array.rs:5:4
[INFO] [stderr]   |
[INFO] [stderr] 5 | fn question1() {
[INFO] [stderr]   |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question2` is never used
[INFO] [stderr]   --> src/complex_type/array.rs:16:4
[INFO] [stderr]    |
[INFO] [stderr] 16 | fn question2() {
[INFO] [stderr]    |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question3` is never used
[INFO] [stderr]   --> src/complex_type/array.rs:29:4
[INFO] [stderr]    |
[INFO] [stderr] 29 | fn question3() {
[INFO] [stderr]    |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question4` is never used
[INFO] [stderr]   --> src/complex_type/array.rs:38:4
[INFO] [stderr]    |
[INFO] [stderr] 38 | fn question4 () {
[INFO] [stderr]    |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question5` is never used
[INFO] [stderr]   --> src/complex_type/array.rs:46:4
[INFO] [stderr]    |
[INFO] [stderr] 46 | fn question5() {
[INFO] [stderr]    |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question1` is never used
[INFO] [stderr]   --> src/complex_type/slice.rs:13:4
[INFO] [stderr]    |
[INFO] [stderr] 13 | fn question1() {
[INFO] [stderr]    |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question2` is never used
[INFO] [stderr]   --> src/complex_type/slice.rs:25:4
[INFO] [stderr]    |
[INFO] [stderr] 25 | fn question2() {
[INFO] [stderr]    |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question3` is never used
[INFO] [stderr]   --> src/complex_type/slice.rs:49:4
[INFO] [stderr]    |
[INFO] [stderr] 49 | fn question3() {
[INFO] [stderr]    |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question4` is never used
[INFO] [stderr]   --> src/complex_type/slice.rs:59:4
[INFO] [stderr]    |
[INFO] [stderr] 59 | fn question4() {
[INFO] [stderr]    |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question5` is never used
[INFO] [stderr]   --> src/complex_type/slice.rs:71:4
[INFO] [stderr]    |
[INFO] [stderr] 71 | fn question5() {
[INFO] [stderr]    |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question1` is never used
[INFO] [stderr]  --> src/complex_type/tuple.rs:5:4
[INFO] [stderr]   |
[INFO] [stderr] 5 | fn question1() {
[INFO] [stderr]   |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question2` is never used
[INFO] [stderr]   --> src/complex_type/tuple.rs:20:4
[INFO] [stderr]    |
[INFO] [stderr] 20 | fn question2() {
[INFO] [stderr]    |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question3` is never used
[INFO] [stderr]   --> src/complex_type/tuple.rs:28:4
[INFO] [stderr]    |
[INFO] [stderr] 28 | fn question3() {
[INFO] [stderr]    |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question4` is never used
[INFO] [stderr]   --> src/complex_type/tuple.rs:37:4
[INFO] [stderr]    |
[INFO] [stderr] 37 | fn question4() {
[INFO] [stderr]    |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question5` is never used
[INFO] [stderr]   --> src/complex_type/tuple.rs:50:4
[INFO] [stderr]    |
[INFO] [stderr] 50 | fn question5() {
[INFO] [stderr]    |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Person` is never constructed
[INFO] [stderr]  --> src/complex_type/structs.rs:7:8
[INFO] [stderr]   |
[INFO] [stderr] 7 | struct Person {
[INFO] [stderr]   |        ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question1` is never used
[INFO] [stderr]   --> src/complex_type/structs.rs:14:4
[INFO] [stderr]    |
[INFO] [stderr] 14 | fn question1() {
[INFO] [stderr]    |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Unit` is never constructed
[INFO] [stderr]   --> src/complex_type/structs.rs:46:8
[INFO] [stderr]    |
[INFO] [stderr] 46 | struct Unit;
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Unit2` is never constructed
[INFO] [stderr]   --> src/complex_type/structs.rs:47:8
[INFO] [stderr]    |
[INFO] [stderr] 47 | struct Unit2;
[INFO] [stderr]    |        ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `SomeTrait` is never used
[INFO] [stderr]   --> src/complex_type/structs.rs:49:7
[INFO] [stderr]    |
[INFO] [stderr] 49 | trait SomeTrait {
[INFO] [stderr]    |       ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question2` is never used
[INFO] [stderr]   --> src/complex_type/structs.rs:68:4
[INFO] [stderr]    |
[INFO] [stderr] 68 | fn question2() {
[INFO] [stderr]    |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `do_something_with_unit_t1` is never used
[INFO] [stderr]   --> src/complex_type/structs.rs:95:4
[INFO] [stderr]    |
[INFO] [stderr] 95 | fn do_something_with_unit_t1(u: Unit) {   }
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `do_something_with_unit` is never used
[INFO] [stderr]   --> src/complex_type/structs.rs:96:4
[INFO] [stderr]    |
[INFO] [stderr] 96 | fn do_something_with_unit(u: &dyn SomeTrait) {  
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `do_someting_with_unit_box` is never used
[INFO] [stderr]    --> src/complex_type/structs.rs:101:4
[INFO] [stderr]     |
[INFO] [stderr] 101 | fn do_someting_with_unit_box(u: Box<dyn SomeTrait>) {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `do_something_with_unit_generic` is never used
[INFO] [stderr]    --> src/complex_type/structs.rs:106:4
[INFO] [stderr]     |
[INFO] [stderr] 106 | fn do_something_with_unit_generic<T: SomeTrait>(u: &T) {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Color` is never constructed
[INFO] [stderr]    --> src/complex_type/structs.rs:114:8
[INFO] [stderr]     |
[INFO] [stderr] 114 | struct Color(i32, i32, i32);
[INFO] [stderr]     |        ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Point` is never constructed
[INFO] [stderr]    --> src/complex_type/structs.rs:115:8
[INFO] [stderr]     |
[INFO] [stderr] 115 | struct Point(i32, i32, i32);
[INFO] [stderr]     |        ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question3` is never used
[INFO] [stderr]    --> src/complex_type/structs.rs:124:4
[INFO] [stderr]     |
[INFO] [stderr] 124 | fn question3() {
[INFO] [stderr]     |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `check_color` is never used
[INFO] [stderr]    --> src/complex_type/structs.rs:132:4
[INFO] [stderr]     |
[INFO] [stderr] 132 | fn check_color(p: Color) {
[INFO] [stderr]     |    ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Person2` is never constructed
[INFO] [stderr]    --> src/complex_type/structs.rs:143:8
[INFO] [stderr]     |
[INFO] [stderr] 143 | struct Person2 {
[INFO] [stderr]     |        ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question4` is never used
[INFO] [stderr]    --> src/complex_type/structs.rs:150:4
[INFO] [stderr]     |
[INFO] [stderr] 150 | fn question4() {
[INFO] [stderr]     |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Person3` is never constructed
[INFO] [stderr]    --> src/complex_type/structs.rs:174:8
[INFO] [stderr]     |
[INFO] [stderr] 174 | struct Person3 {
[INFO] [stderr]     |        ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question5` is never used
[INFO] [stderr]    --> src/complex_type/structs.rs:178:4
[INFO] [stderr]     |
[INFO] [stderr] 178 | fn question5() {} 
[INFO] [stderr]     |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `build_person` is never used
[INFO] [stderr]    --> src/complex_type/structs.rs:181:4
[INFO] [stderr]     |
[INFO] [stderr] 181 | fn build_person(name: String, age: u8) -> Person3 {
[INFO] [stderr]     |    ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `User` is never constructed
[INFO] [stderr]    --> src/complex_type/structs.rs:192:8
[INFO] [stderr]     |
[INFO] [stderr] 192 | struct User {
[INFO] [stderr]     |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question6` is never used
[INFO] [stderr]    --> src/complex_type/structs.rs:199:4
[INFO] [stderr]     |
[INFO] [stderr] 199 | fn question6() {
[INFO] [stderr]     |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `set_email` is never used
[INFO] [stderr]    --> src/complex_type/structs.rs:212:4
[INFO] [stderr]     |
[INFO] [stderr] 212 | fn set_email(u: User) -> User {
[INFO] [stderr]     |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Rectangle` is never constructed
[INFO] [stderr]    --> src/complex_type/structs.rs:229:8
[INFO] [stderr]     |
[INFO] [stderr] 229 | struct Rectangle {
[INFO] [stderr]     |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question7` is never used
[INFO] [stderr]    --> src/complex_type/structs.rs:234:4
[INFO] [stderr]     |
[INFO] [stderr] 234 | fn question7() {
[INFO] [stderr]     |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `example` is never used
[INFO] [stderr]    --> src/complex_type/structs.rs:250:4
[INFO] [stderr]     |
[INFO] [stderr] 250 | fn example() {
[INFO] [stderr]     |    ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `Number` is never used
[INFO] [stderr]  --> src/complex_type/enums.rs:5:6
[INFO] [stderr]   |
[INFO] [stderr] 5 | enum Number {
[INFO] [stderr]   |      ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `Number1` is never used
[INFO] [stderr]   --> src/complex_type/enums.rs:11:6
[INFO] [stderr]    |
[INFO] [stderr] 11 | enum Number1 {
[INFO] [stderr]    |      ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `Number2` is never used
[INFO] [stderr]   --> src/complex_type/enums.rs:19:6
[INFO] [stderr]    |
[INFO] [stderr] 19 | enum Number2 {
[INFO] [stderr]    |      ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question1` is never used
[INFO] [stderr]   --> src/complex_type/enums.rs:29:4
[INFO] [stderr]    |
[INFO] [stderr] 29 | fn question1() {
[INFO] [stderr]    |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variants `Quit`, `Write`, and `ChangeColor` are never constructed
[INFO] [stderr]   --> src/complex_type/enums.rs:40:5
[INFO] [stderr]    |
[INFO] [stderr] 39 | enum Message {
[INFO] [stderr]    |      ------- variants in this enum
[INFO] [stderr] 40 |     Quit,
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] 41 |     Move { x: i32, y: i32 },
[INFO] [stderr] 42 |     Write(String),
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] 43 |     ChangeColor(i32, i32, i32),
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: function `question2` is never used
[INFO] [stderr]   --> src/complex_type/enums.rs:58:4
[INFO] [stderr]    |
[INFO] [stderr] 58 | fn question2() {
[INFO] [stderr]    |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question4` is never used
[INFO] [stderr]    --> src/complex_type/enums.rs:106:4
[INFO] [stderr]     |
[INFO] [stderr] 106 | fn question4() {
[INFO] [stderr]     |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `show_message` is never used
[INFO] [stderr]    --> src/complex_type/enums.rs:124:4
[INFO] [stderr]     |
[INFO] [stderr] 124 | fn show_message(msg: Message) {
[INFO] [stderr]     |    ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question5` is never used
[INFO] [stderr]    --> src/complex_type/enums.rs:131:4
[INFO] [stderr]     |
[INFO] [stderr] 131 | fn question5() {
[INFO] [stderr]     |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `plus_one` is never used
[INFO] [stderr]    --> src/complex_type/enums.rs:148:4
[INFO] [stderr]     |
[INFO] [stderr] 148 | fn plus_one(x: Option<i32>) -> Option<i32> {
[INFO] [stderr]     |    ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `name` and `size` are never read
[INFO] [stderr]    --> src/complex_type/enums.rs:228:5
[INFO] [stderr]     |
[INFO] [stderr] 227 | struct FileNode1 {
[INFO] [stderr]     |        --------- fields in this struct
[INFO] [stderr] 228 |     name:String,
[INFO] [stderr]     |     ^^^^
[INFO] [stderr] 229 |     size:u32,
[INFO] [stderr]     |     ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question1` is never used
[INFO] [stderr]  --> src/controlflow/conditional.rs:6:4
[INFO] [stderr]   |
[INFO] [stderr] 6 | fn question1() {
[INFO] [stderr]   |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `NumberType` is never used
[INFO] [stderr]   --> src/controlflow/conditional.rs:21:6
[INFO] [stderr]    |
[INFO] [stderr] 21 | enum NumberType {
[INFO] [stderr]    |      ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `number_dispatch` is never used
[INFO] [stderr]   --> src/controlflow/conditional.rs:27:4
[INFO] [stderr]    |
[INFO] [stderr] 27 | fn number_dispatch(value:u8)-> NumberType
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question2` is never used
[INFO] [stderr]   --> src/controlflow/conditional.rs:36:4
[INFO] [stderr]    |
[INFO] [stderr] 36 | fn question2(){
[INFO] [stderr]    |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question3` is never used
[INFO] [stderr]   --> src/controlflow/conditional.rs:45:4
[INFO] [stderr]    |
[INFO] [stderr] 45 | fn question3() {
[INFO] [stderr]    |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `question4` is never used
[INFO] [stderr]   --> src/controlflow/conditional.rs:63:4
[INFO] [stderr]    |
[INFO] [stderr] 63 | fn question4() {
[INFO] [stderr]    |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused arithmetic operation that must be used
[INFO] [stderr]   --> src/statements_expressions.rs:15:9
[INFO] [stderr]    |
[INFO] [stderr] 15 |         2 * x;
[INFO] [stderr]    |         ^^^^^ the arithmetic operation produces a value
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 15 |         let _ = 2 * x;
[INFO] [stderr]    |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: calls to `std::str::from_utf8` with an invalid literal always return an error
[INFO] [stderr]    --> src/complex_type/string_str.rs:262:11
[INFO] [stderr]     |
[INFO] [stderr] 259 |     let shift_jis = b"\x82\xe6\x82\xa8\x82\xb1\x82\xbb"; // "ようこそ" in SHIFT-JIS
[INFO] [stderr]     |                     ----------------------------------- the literal was valid UTF-8 up to the 0 bytes
[INFO] [stderr] ...
[INFO] [stderr] 262 |     match str::from_utf8(shift_jis) {
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(invalid_from_utf8)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `practice` (bin "practice" test) generated 200 warnings (run `cargo fix --bin "practice" -p practice --tests` to apply 36 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/practice-16f7f21f68b6361e)
[INFO] [stdout] 
[INFO] [stdout] running 16 tests
[INFO] [stdout] test complex_type::array::tests::test_question1 ... ok
[INFO] [stdout] test complex_type::slice::tests::test_question1 ... ok
[INFO] [stdout] test complex_type::enums::tests::test ... ok
[INFO] [stdout] test char_bool_unit::tests::test_char_practice ... ok
[INFO] [stdout] test complex_type::string_str::tests::test_question1 ... ok
[INFO] [stdout] test complex_type::structs::tests::test_question1 ... ok
[INFO] [stdout] test complex_type::tuple::tests::test_question1 ... ok
[INFO] [stdout] test controlflow::conditional::tests::test_question1 ... ok
[INFO] [stdout] test numbers_practice::tests::test_kilometers_to_meters ... ok
[INFO] [stdout] test numbers_practice::tests::test_port_try_from ... ok
[INFO] [stdout] test numbers_practice::tests::test_practice10_range ... ok
[INFO] [stdout] test statements_expressions::tests::test_question1 ... ok
[INFO] [stdout] test ownership::ownership::tests::test_question1 ... ok
[INFO] [stdout] test ownership::ref_borrow::tests::test_question1 ... ok
[INFO] [stdout] test numbers_practice::tests::test_practice11_solution ... FAILED
[INFO] [stdout] test function::tests::test_question1 ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- numbers_practice::tests::test_practice11_solution stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'numbers_practice::tests::test_practice11_solution' (29) panicked at src/numbers_practice.rs:170:5:
[INFO] [stdout] assertion failed: 9.6 / 3.2 == 3.0
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x633c01c1e908 - std[929523f510218772]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x633c01c1e908 - std[929523f510218772]::backtrace_rs::backtrace::trace_unsynchronized::<std[929523f510218772]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x633c01c1e908 - std[929523f510218772]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x633c01c1e908 - <<std[929523f510218772]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[28b146924c2f19c6]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x633c01c32b7a - <core[28b146924c2f19c6]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x633c01c32b7a - core[28b146924c2f19c6]::fmt::write
[INFO] [stdout]    6:     0x633c01c23122 - std[929523f510218772]::io::default_write_fmt::<alloc[95e62e727ddf147d]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/io/mod.rs:622:11
[INFO] [stdout]    7:     0x633c01c23122 - <alloc[95e62e727ddf147d]::vec::Vec<u8> as std[929523f510218772]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/io/mod.rs:1977:13
[INFO] [stdout]    8:     0x633c01bfdab6 - <std[929523f510218772]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x633c01bfdab6 - std[929523f510218772]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x633c01c16e59 - std[929523f510218772]::panicking::default_hook
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x633c01bb19bc - <alloc[95e62e727ddf147d]::boxed::Box<dyn for<'a, 'b> core[28b146924c2f19c6]::ops::function::Fn<(&'a std[929523f510218772]::panic::PanicHookInfo<'b>,), Output = ()> + core[28b146924c2f19c6]::marker::Sync + core[28b146924c2f19c6]::marker::Send> as core[28b146924c2f19c6]::ops::function::Fn<(&std[929523f510218772]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/alloc/src/boxed.rs:2291:9
[INFO] [stdout]   12:     0x633c01bb19bc - test[6ec0502068880816]::test_main_inner::<test[6ec0502068880816]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:155:21
[INFO] [stdout]   13:     0x633c01c17012 - <alloc[95e62e727ddf147d]::boxed::Box<dyn for<'a, 'b> core[28b146924c2f19c6]::ops::function::Fn<(&'a std[929523f510218772]::panic::PanicHookInfo<'b>,), Output = ()> + core[28b146924c2f19c6]::marker::Sync + core[28b146924c2f19c6]::marker::Send> as core[28b146924c2f19c6]::ops::function::Fn<(&std[929523f510218772]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/alloc/src/boxed.rs:2291:9
[INFO] [stdout]   14:     0x633c01c17012 - std[929523f510218772]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x633c01bfdba4 - std[929523f510218772]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:691:13
[INFO] [stdout]   16:     0x633c01bf2d79 - std[929523f510218772]::sys::backtrace::__rust_end_short_backtrace::<std[929523f510218772]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x633c01bfe88d - __rustc[acf6043c977865fb]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x633c01c332cc - core[28b146924c2f19c6]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x633c01c33292 - core[28b146924c2f19c6]::panicking::panic
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/panicking.rs:150:5
[INFO] [stdout]   20:     0x633c01ba059d - practice[44677a80e5aac274]::numbers_practice::number_practice11
[INFO] [stdout]                                at /opt/rustwide/workdir/src/numbers_practice.rs:170:5
[INFO] [stdout]   21:     0x633c01ba25b6 - practice[44677a80e5aac274]::numbers_practice::tests::test_practice11_solution
[INFO] [stdout]                                at /opt/rustwide/workdir/src/numbers_practice.rs:263:9
[INFO] [stdout]   22:     0x633c01b9ed77 - practice[44677a80e5aac274]::numbers_practice::tests::test_practice11_solution::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/numbers_practice.rs:262:34
[INFO] [stdout]   23:     0x633c01ba4696 - <practice[44677a80e5aac274]::numbers_practice::tests::test_practice11_solution::{closure#0} as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x633c01ba4a9b - <fn() -> core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String> as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x633c01ba4a9b - test[6ec0502068880816]::__rust_begin_short_backtrace::<core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>, fn() -> core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:724:18
[INFO] [stdout]   26:     0x633c01bb2315 - test[6ec0502068880816]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:747:74
[INFO] [stdout]   27:     0x633c01bb2315 - <core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<test[6ec0502068880816]::run_test_in_process::{closure#0}> as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   28:     0x633c01bb2315 - std[929523f510218772]::panicking::catch_unwind::do_call::<core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<test[6ec0502068880816]::run_test_in_process::{closure#0}>, core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:581:40
[INFO] [stdout]   29:     0x633c01bb2315 - std[929523f510218772]::panicking::catch_unwind::<core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>, core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<test[6ec0502068880816]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:544:19
[INFO] [stdout]   30:     0x633c01bb2315 - std[929523f510218772]::panic::catch_unwind::<core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<test[6ec0502068880816]::run_test_in_process::{closure#0}>, core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x633c01bb2315 - test[6ec0502068880816]::run_test_in_process
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:747:27
[INFO] [stdout]   32:     0x633c01bb2315 - test[6ec0502068880816]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:668:43
[INFO] [stdout]   33:     0x633c01bace74 - test[6ec0502068880816]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:698:41
[INFO] [stdout]   34:     0x633c01bace74 - std[929523f510218772]::sys::backtrace::__rust_begin_short_backtrace::<test[6ec0502068880816]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   35:     0x633c01bb5392 - std[929523f510218772]::thread::lifecycle::spawn_unchecked::<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   36:     0x633c01bb5392 - <core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   37:     0x633c01bb5392 - std[929523f510218772]::panicking::catch_unwind::do_call::<core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:581:40
[INFO] [stdout]   38:     0x633c01bb5392 - std[929523f510218772]::panicking::catch_unwind::<(), core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:544:19
[INFO] [stdout]   39:     0x633c01bb5392 - std[929523f510218772]::panic::catch_unwind::<core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x633c01bb5392 - std[929523f510218772]::thread::lifecycle::spawn_unchecked::<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   41:     0x633c01bb5392 - <std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1} as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x633c01c1e26f - <alloc[95e62e727ddf147d]::boxed::Box<dyn core[28b146924c2f19c6]::ops::function::FnOnce<(), Output = ()> + core[28b146924c2f19c6]::marker::Send> as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/alloc/src/boxed.rs:2277:9
[INFO] [stdout]   43:     0x633c01c1e26f - <std[929523f510218772]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   44:     0x785fbb0d5aa4 - <unknown>
[INFO] [stdout]   45:     0x785fbb162a64 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- function::tests::test_question1 stdout ----
[INFO] [stdout] hello,world
[INFO] [stdout] Success!
[INFO] [stdout] Success!
[INFO] [stdout] 
[INFO] [stdout] thread 'function::tests::test_question1' (25) panicked at src/function.rs:89:13:
[INFO] [stdout] we have no value for `false`, but we can panic
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x633c01c1e908 - std[929523f510218772]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x633c01c1e908 - std[929523f510218772]::backtrace_rs::backtrace::trace_unsynchronized::<std[929523f510218772]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x633c01c1e908 - std[929523f510218772]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x633c01c1e908 - <<std[929523f510218772]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[28b146924c2f19c6]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x633c01c32b7a - <core[28b146924c2f19c6]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x633c01c32b7a - core[28b146924c2f19c6]::fmt::write
[INFO] [stdout]    6:     0x633c01c23122 - std[929523f510218772]::io::default_write_fmt::<alloc[95e62e727ddf147d]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/io/mod.rs:622:11
[INFO] [stdout]    7:     0x633c01c23122 - <alloc[95e62e727ddf147d]::vec::Vec<u8> as std[929523f510218772]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/io/mod.rs:1977:13
[INFO] [stdout]    8:     0x633c01bfdab6 - <std[929523f510218772]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x633c01bfdab6 - std[929523f510218772]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x633c01c16e59 - std[929523f510218772]::panicking::default_hook
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x633c01bb19bc - <alloc[95e62e727ddf147d]::boxed::Box<dyn for<'a, 'b> core[28b146924c2f19c6]::ops::function::Fn<(&'a std[929523f510218772]::panic::PanicHookInfo<'b>,), Output = ()> + core[28b146924c2f19c6]::marker::Sync + core[28b146924c2f19c6]::marker::Send> as core[28b146924c2f19c6]::ops::function::Fn<(&std[929523f510218772]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/alloc/src/boxed.rs:2291:9
[INFO] [stdout]   12:     0x633c01bb19bc - test[6ec0502068880816]::test_main_inner::<test[6ec0502068880816]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:155:21
[INFO] [stdout]   13:     0x633c01c17012 - <alloc[95e62e727ddf147d]::boxed::Box<dyn for<'a, 'b> core[28b146924c2f19c6]::ops::function::Fn<(&'a std[929523f510218772]::panic::PanicHookInfo<'b>,), Output = ()> + core[28b146924c2f19c6]::marker::Sync + core[28b146924c2f19c6]::marker::Send> as core[28b146924c2f19c6]::ops::function::Fn<(&std[929523f510218772]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/alloc/src/boxed.rs:2291:9
[INFO] [stdout]   14:     0x633c01c17012 - std[929523f510218772]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x633c01bfdba4 - std[929523f510218772]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:691:13
[INFO] [stdout]   16:     0x633c01bf2d79 - std[929523f510218772]::sys::backtrace::__rust_end_short_backtrace::<std[929523f510218772]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x633c01bfe88d - __rustc[acf6043c977865fb]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x633c01c332cc - core[28b146924c2f19c6]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x633c01ba0aff - practice[44677a80e5aac274]::function::question5
[INFO] [stdout]                                at /opt/rustwide/workdir/src/function.rs:89:13
[INFO] [stdout]   20:     0x633c01ba2735 - practice[44677a80e5aac274]::function::tests::test_question1
[INFO] [stdout]                                at /opt/rustwide/workdir/src/function.rs:108:9
[INFO] [stdout]   21:     0x633c01b9ee07 - practice[44677a80e5aac274]::function::tests::test_question1::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/function.rs:102:24
[INFO] [stdout]   22:     0x633c01ba4756 - <practice[44677a80e5aac274]::function::tests::test_question1::{closure#0} as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x633c01ba4a9b - <fn() -> core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String> as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x633c01ba4a9b - test[6ec0502068880816]::__rust_begin_short_backtrace::<core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>, fn() -> core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:724:18
[INFO] [stdout]   25:     0x633c01bb2315 - test[6ec0502068880816]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:747:74
[INFO] [stdout]   26:     0x633c01bb2315 - <core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<test[6ec0502068880816]::run_test_in_process::{closure#0}> as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   27:     0x633c01bb2315 - std[929523f510218772]::panicking::catch_unwind::do_call::<core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<test[6ec0502068880816]::run_test_in_process::{closure#0}>, core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:581:40
[INFO] [stdout]   28:     0x633c01bb2315 - std[929523f510218772]::panicking::catch_unwind::<core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>, core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<test[6ec0502068880816]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:544:19
[INFO] [stdout]   29:     0x633c01bb2315 - std[929523f510218772]::panic::catch_unwind::<core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<test[6ec0502068880816]::run_test_in_process::{closure#0}>, core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panic.rs:359:14
[INFO] [stdout]   30:     0x633c01bb2315 - test[6ec0502068880816]::run_test_in_process
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:747:27
[INFO] [stdout]   31:     0x633c01bb2315 - test[6ec0502068880816]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:668:43
[INFO] [stdout]   32:     0x633c01bace74 - test[6ec0502068880816]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:698:41
[INFO] [stdout]   33:     0x633c01bace74 - std[929523f510218772]::sys::backtrace::__rust_begin_short_backtrace::<test[6ec0502068880816]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   34:     0x633c01bb5392 - std[929523f510218772]::thread::lifecycle::spawn_unchecked::<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   35:     0x633c01bb5392 - <core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   36:     0x633c01bb5392 - std[929523f510218772]::panicking::catch_unwind::do_call::<core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:581:40
[INFO] [stdout]   37:     0x633c01bb5392 - std[929523f510218772]::panicking::catch_unwind::<(), core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:544:19
[INFO] [stdout]   38:     0x633c01bb5392 - std[929523f510218772]::panic::catch_unwind::<core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panic.rs:359:14
[INFO] [stdout]   39:     0x633c01bb5392 - std[929523f510218772]::thread::lifecycle::spawn_unchecked::<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   40:     0x633c01bb5392 - <std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1} as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   41:     0x633c01c1e26f - <alloc[95e62e727ddf147d]::boxed::Box<dyn core[28b146924c2f19c6]::ops::function::FnOnce<(), Output = ()> + core[28b146924c2f19c6]::marker::Send> as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/alloc/src/boxed.rs:2277:9
[INFO] [stdout]   42:     0x633c01c1e26f - <std[929523f510218772]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   43:     0x785fbb0d5aa4 - <unknown>
[INFO] [stdout]   44:     0x785fbb162a64 - clone
[INFO] [stdout]   45:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     function::tests::test_question1
[INFO] [stdout]     numbers_practice::tests::test_practice11_solution
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 14 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin practice`
[INFO] running `Command { std: "docker" "inspect" "6383c8c573247a70c3a077e9951893d40281151b8d418914ea39c8ef1f44f41f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6383c8c573247a70c3a077e9951893d40281151b8d418914ea39c8ef1f44f41f", kill_on_drop: false }`
[INFO] [stdout] 6383c8c573247a70c3a077e9951893d40281151b8d418914ea39c8ef1f44f41f
